lemon/maps.h
changeset 36 d6bc33fa6590
parent 33 d794ec195ec0
child 39 0a01d811071f
child 43 17e76967c49f
equal deleted inserted replaced
4:98b7931bedcc 5:53927ea07ae8
  1306   template <typename Container,
  1306   template <typename Container,
  1307             typename Functor =
  1307             typename Functor =
  1308             _maps_bits::Identity<typename Container::value_type> >
  1308             _maps_bits::Identity<typename Container::value_type> >
  1309   class BackInserterBoolMap {
  1309   class BackInserterBoolMap {
  1310   public:
  1310   public:
  1311     typedef typename Container::value_type Key;
  1311     typedef typename Functor::argument_type Key;
  1312     typedef bool Value;
  1312     typedef bool Value;
  1313 
  1313 
  1314     /// Constructor
  1314     /// Constructor
  1315     BackInserterBoolMap(Container& _container, 
  1315     BackInserterBoolMap(Container& _container, 
  1316                         const Functor& _functor = Functor()) 
  1316                         const Functor& _functor = Functor()) 
  1341   template <typename Container,
  1341   template <typename Container,
  1342             typename Functor =
  1342             typename Functor =
  1343             _maps_bits::Identity<typename Container::value_type> >
  1343             _maps_bits::Identity<typename Container::value_type> >
  1344   class FrontInserterBoolMap {
  1344   class FrontInserterBoolMap {
  1345   public:
  1345   public:
  1346     typedef typename Container::value_type Key;
  1346     typedef typename Functor::argument_type Key;
  1347     typedef bool Value;
  1347     typedef bool Value;
  1348 
  1348 
  1349     /// Constructor
  1349     /// Constructor
  1350     FrontInserterBoolMap(Container& _container,
  1350     FrontInserterBoolMap(Container& _container,
  1351                          const Functor& _functor = Functor()) 
  1351                          const Functor& _functor = Functor())