Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
No Matches
Static Public Attributes | List of all members
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,
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:3335
static constexpr const bool value
Definition burger.h:3336
See also

Member Data Documentation

◆ value

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