lemon/traits.h
changeset 1847 7cbc12e42482
parent 1719 674182524bd9
child 1875 98698b69a902
equal deleted inserted replaced
0:7e53394cd0ab 1:8c8c2780bfaa
    98     typedef False ReferenceMapTag;
    98     typedef False ReferenceMapTag;
    99 
    99 
   100     typedef typename Map::Key Key;
   100     typedef typename Map::Key Key;
   101     typedef typename Map::Value Value;
   101     typedef typename Map::Value Value;
   102 
   102 
   103     typedef Value ConstReturnValue;
   103     typedef const Value ConstReturnValue;
   104     typedef Value& ReturnValue;
   104     typedef const Value ReturnValue;
   105   };
   105   };
   106 
   106 
   107   template <typename Map>
   107   template <typename Map>
   108   struct MapTraits<
   108   struct MapTraits<
   109     Map, typename enable_if<typename Map::ReferenceMapTag, void>::type > 
   109     Map, typename enable_if<typename Map::ReferenceMapTag, void>::type >