Int2Type< v > Class Template Reference

#include <nxsutilcopy.h>

List of all members.

Detailed Description

template<int v>
class Int2Type< v >

Int2Type<compile time constant integer> defines a unique (and stateless) class associated with a given integer. Used for compile time dispatching of function calls or creation of appropriate templated classes.

defines an unnamed enum "value" that is equal to the integer used to define the class.

Andrei Alexandrescu "Modern C++ Design"

Definition at line 45 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:12 2010 for NCL by  doxygen 1.6.3