aboutsummaryrefslogtreecommitdiffstats
path: root/common/hashlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/hashlib.h')
-rw-r--r--common/hashlib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/hashlib.h b/common/hashlib.h
index 48db024f..30fefc65 100644
--- a/common/hashlib.h
+++ b/common/hashlib.h
@@ -339,6 +339,10 @@ template <typename K, typename T, typename OPS> class dict
}
public:
+ using key_type = K;
+ using mapped_type = T;
+ using value_type = std::pair<K, T>;
+
class const_iterator : public std::iterator<std::forward_iterator_tag, std::pair<K, T>>
{
friend class dict;