This class provides types and methods to allow the call of methods for a given type in the inheritance of a multi_type_map. More...
This class provides types and methods to allow the call of methods for a given type in the inheritance of a multi_type_map.
Suppose we have defined the following variable
multi_type_map<int, type_list<std::string, type_list<int, no_type> > > my_map;
The call int i = my_map.get<int>( 24 );
doesn't match the type of the end class. So the call is repercuted on the parent class until the types match. Then, we can get the values in m_data.
Template parameters
Definition at line 60 of file multi_type_map.hpp.