ntg::type_traits< T > Class Template Reference

Associates properties and methods to types. More...

#include <type_traits.hh>

Inheritance diagram for ntg::type_traits< T >:

Inheritance graph
[legend]
Collaboration diagram for ntg::type_traits< T >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T>
class ntg::type_traits< T >

Associates properties and methods to types.

type_traits gives a variable set of properties, depending on the type considered. For example, type_traits<int_u8> can give larger_type, max(), ...

It refers to the exact type, this means type_traits<any<int_u8> > will give the same results than type_traits<int_u8>.

Traits can be defined for builtin values, so that type_traits<int> works, this is the main advantage on T::xxx approach to define properties.

Definition at line 61 of file type_traits.hh.


The documentation for this class was generated from the following file:
Generated on Thu Apr 15 20:13:47 2004 for Olena by doxygen 1.3.6-20040222