Binary Type Traits provide information about a relationship
between two types. Every Binary Type Trait possesses a static data
member of type
bool named
value. This member
indicates the presence or absence of a specific relationship between
the two argument types. For example, the value of the following expression
will be true if the type arguments
Ty1 and
Ty2 are
the same type, and false otherwise:
std::tr1::is_same<Ty1, Ty2>::value