Evo C++ Library v0.5.1
Public Types | Static Public Attributes | List of all members
IsSame< T1, T2 > Struct Template Reference

#include <evo/meta.h>

Inheritance diagram for IsSame< T1, T2 >:
Inheritance graph
[legend]

Detailed Description

template<class T1, class T2>
struct evo::IsSame< T1, T2 >

Check if types are exactly the same.

Value member holds result.

Template Parameters
T1First type to compare.
T2Second type to compare.
Example
bool b1 = IsSame<char,char>::value; // true
bool b2 = IsSame<char,int>::value; // false

Public Types

typedef evo::StaticBool< val > Type
 This type. More...
 

Static Public Attributes

static const bool value = val
 Result value. More...
 

Member Typedef Documentation

◆ Type

typedef evo::StaticBool<val> Type
inherited

This type.

Member Data Documentation

◆ value

const bool value = val
staticinherited

Result value.


The documentation for this struct was generated from the following file: