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::is_same< T, U > Struct Template Reference

Determine if two objects are the same type. More...

Static Public Attributes

static constexpr const bool value = false
 

Detailed Description

template<class T, class U>
struct Burger::is_same< T, U >

Determine if two objects are the same type.


A template that sets its value to true if both classes are the same type.

Based on std::is_same

Template Parameters
TType of first object to test
UType of second object to test

Example of use:

printf("int and float are not the same %u", Burger::is_same<int,
float>::value);
printf("int and int are the same %u", Burger::is_same<int, int>::value);
Determine if two objects are the same type.
Definition burger.h:3360
static constexpr const bool value
Definition burger.h:3361
See also
is_integral

Member Data Documentation

◆ value

template<class T , class U >
const bool Burger::is_same< T, U >::value = false
staticconstexpr