Dune::Int2Type< N > Struct Template Reference

Map an integer value to a type. More...

#include <dune/common/misc.hh>

List of all members.

Public Types

enum  { value = N }

Detailed Description

template<int N>
struct Dune::Int2Type< N >

Map an integer value to a type.

This comes in handy if one tries to emulate member function specialization. The idea how to do it is presented in "Modern C++ Design" by Alexandrescu.


Member Enumeration Documentation

template<int N>
anonymous enum
Enumerator:
value 

The documentation for this struct was generated from the following file:
Generated on Mon Apr 26 10:45:23 2010 for dune-common by  doxygen 1.6.3