equal
deleted
inserted
replaced
145 protected: |
145 protected: |
146 Value tmp; |
146 Value tmp; |
147 public: |
147 public: |
148 |
148 |
149 ///Returns a reference to the value associated to a key. |
149 ///Returns a reference to the value associated to a key. |
150 Reference operator[](const Key &i) { return tmp; } |
150 Reference operator[](const Key &) { return tmp; } |
151 ///Returns a const reference to the value associated to a key. |
151 ///Returns a const reference to the value associated to a key. |
152 ConstReference operator[](const Key &i) const |
152 ConstReference operator[](const Key &) const |
153 { return tmp; } |
153 { return tmp; } |
154 /// Sets the value associated with a key. |
154 /// Sets the value associated with a key. |
155 void set(const Key &k,const Value &t) { operator[](k)=t; } |
155 void set(const Key &k,const Value &t) { operator[](k)=t; } |
156 |
156 |
157 // \todo rethink this concept |
157 // \todo rethink this concept |