FrontInserterBoolMap< Container, Functor > Class Template Reference
[Map Adaptors]
Detailed Description
template<typename Container, typename Functor = _maps_bits::Identity<typename Container::value_type>>
class lemon::FrontInserterBoolMap< Container, Functor >
Writable bool map for logging each
true assigned element by pushing them into a front insertable container. It can be used to retrieve the items into a standard container. For example see
BackInserterBoolMap.
- See also:
- BackInserterBoolMap
InserterBoolMap
#include <lemon/maps.h>
List of all members.
|
Public Member Functions |
|
| FrontInserterBoolMap (Container &_container, const Functor &_functor=Functor()) |
| | Constructor.
|
|
void | set (const Key &key, Value value) |
| | The set function of the map.
|