Map an integer value to a type. More...
#include <dune/common/misc.hh>
Public Types | |
enum | { value = 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.