lemon/concepts/maps.h
branch1.1
changeset 803 79f149ee0230
parent 784 a30455cd0107
parent 792 761fe0846f49
child 808 bdfc038f364c
equal deleted inserted replaced
21:5949f762509b 23:2c115373418b
    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() {