lemon/concepts/maps.h
changeset 802 0e30f63d45d0
parent 783 b873350e6258
child 793 8d2e55fac752
child 807 3e711ee55d31
equal deleted inserted replaced
20:010be121cbc8 22: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() {