A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::IntToType< v > Struct Template Reference

This trivial template is extremely useful, as explained in "Modern C++ Design", p29, section 2.4, "Mapping Integral Constants to Types". More...

#include <int-to-type.h>

Public Types

enum  v_e { value = v }
 

Detailed Description

template<int v>
struct ns3::IntToType< v >

This trivial template is extremely useful, as explained in "Modern C++ Design", p29, section 2.4, "Mapping Integral Constants to Types".

Definition at line 12 of file int-to-type.h.

Member Enumeration Documentation

template<int v>
enum ns3::IntToType::v_e
Enumerator
value 

Definition at line 14 of file int-to-type.h.


The documentation for this struct was generated from the following file: