Sierra Toolkit Version of the Day
rde::int_to_type< TVal > Struct Template Reference

#include <int_to_type_rdestl.h>

List of all members.

Public Types

enum  { value = TVal }

Detailed Description

template<int TVal>
struct rde::int_to_type< TVal >

Sample usage: void fun(int_to_type<true>) { ... } void fun(int_to_type<false>) { ... } template<typename T> void bar() { fun(int_to_type<std::numeric_limits<T>::is_exact>()) }

Definition at line 17 of file int_to_type_rdestl.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines