diff options
Diffstat (limited to 'raul/Table.hpp')
-rw-r--r-- | raul/Table.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/raul/Table.hpp b/raul/Table.hpp index db5216f..0e78f2f 100644 --- a/raul/Table.hpp +++ b/raul/Table.hpp @@ -81,6 +81,8 @@ public: const_iterator find(const K& key) const; iterator find(const K& key); + T& operator[](const K& key); + const_iterator begin() const { return const_iterator(*this, 0); } const_iterator end() const { return const_iterator(*this, size()); } iterator begin() { return iterator(*this, 0); } |