lemon/concepts/maps.h
changeset 1027 8b2b9e61d8ce
parent 975 b873350e6258
child 1083 3e711ee55d31
equal deleted inserted replaced
17:010be121cbc8 18:eb60c7b526a1
    47       /// (The type of objects associated with the keys).
    47       /// (The type of objects associated with the keys).
    48       typedef T Value;
    48       typedef T Value;
    49 
    49 
    50       /// Returns the value associated with the given key.
    50       /// Returns the value associated with the given key.
    51       Value operator[](const Key &) const {
    51       Value operator[](const Key &) const {
    52         return *static_cast<Value *>(0);
    52         return *(static_cast<Value *>(0)+1);
    53       }
    53       }
    54 
    54 
    55       template<typename _ReadMap>
    55       template<typename _ReadMap>
    56       struct Constraints {
    56       struct Constraints {
    57         void constraints() {
    57         void constraints() {