Type2Type< T > Class Template Reference

#include <nxsutilcopy.h>

List of all members.


Detailed Description

template<typename T>
class Type2Type< T >

Type2Type<typename> defines a unique (and stateless) class for each type that is specified as the template argument. This is useful in controlling the return type of templated functions in lieu of partial template specialization of templated functions (which is not allowed by the C++ standard) Defines the typedef OriginalType which corresponds to the template argument

Author:
Andrei Alexandrescu "Modern C++ Design"

Definition at line 65 of file nxsutilcopy.h.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Enumerations Enumerator Friends
Generated on Mon Mar 29 16:37:14 2010 for NCL by  doxygen 1.6.3