Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Burger::ice_eq< p1, p2 > Struct Template Reference

Test for equality. More...

Public Types

enum  { value = (p1 == p2) }
 

Detailed Description

template<int p1, int p2>
struct Burger::ice_eq< p1, p2 >

Test for equality.


A helper template that sets its output to true if both inputs are the same integer value. It's implemented as a compile time constant for use in other templates.

Example of use:

// iResult is true
// iResult is false
Test for equality.
Definition burger.h:3329

Member Enumeration Documentation

◆ anonymous enum

template<int p1, int p2>
anonymous enum
Enumerator
value 

true if equal