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

#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.

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