Claw  1.7.3
Public Member Functions | List of all members
claw::multi_type_map_visitor Class Reference

This class goes through all entries in a multi_type_map and apply a function to them. More...

#include <multi_type_map_visitor.hpp>

Public Member Functions

template<typename Key , typename TypeList , typename Function >
void run (multi_type_map< Key, TypeList > &m, Function f) const
 Execute the visitor.

Detailed Description

This class goes through all entries in a multi_type_map and apply a function to them.

Author
Julien Jorge

Definition at line 43 of file multi_type_map_visitor.hpp.

Member Function Documentation

template<typename Key , typename TypeList , typename Function >
void claw::multi_type_map_visitor::run ( multi_type_map< Key, TypeList > &  m,
Function  f 
) const

Execute the visitor.

Parameters
mThe map to visit.
fThe function to apply to the entries.

Definition at line 122 of file multi_type_map_visitor.tpp.


The documentation for this class was generated from the following files: