38 template<
typename Type>
42 template<
typename Key,
typename TailType,
typename Function>
49 typedef typename map_type::template iterator<Type>::type iterator_type;
51 iterator_type it( m.template begin<Type>() );
52 const iterator_type eit( m.template end<Type>() );
56 iterator_type current(it);
58 f(current->first, current->second);
69 template<
typename Key,
typename TypeList>
76 template<
typename Key>
80 template<
typename Function>
93 template<
typename KeyType,
typename HeadType,
typename TailType>
98 template<
typename Function>
106 process.execute( m, f );
107 rec_call.execute( m, f );
120 template<
typename Key,
typename TypeList,
typename Function>
125 rec_call.execute( m, f );
This class can associate values of different types to a key.
void run(multi_type_map< Key, TypeList > &m, Function f) const
Execute the visitor.
This class goes through all entries of a given type in a multi_type_map and apply a function to them...
This class goes through all entries in a multi_type_map and apply a function to them.