aboutsummaryrefslogtreecommitdiff
path: root/common/assocarray.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/assocarray.h')
-rw-r--r--common/assocarray.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/common/assocarray.h b/common/assocarray.h
index 0e10ea7f4f..8505f48c19 100644
--- a/common/assocarray.h
+++ b/common/assocarray.h
@@ -140,9 +140,16 @@ public:
// even allow in-place modifications of
Key *new_all_keys(void) const;
Val *new_all_values(void) const;
+ //const_iterator begin() const
+ //const_iterator end() const
-
- // TODO: There is no "remove(key)" method yet.
+ // TODO: There is no "remove" method yet.
+ //void remove(const Key &key);
+
+
+ bool empty() const {
+ return (_nele == 0);
+ }
};
//-------------------------------------------------------