aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-07 20:18:52 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-07 20:18:52 +0000
commit8294cd0acad913897cb79aba7d94144254fdb4f3 (patch)
tree49e56823fcf0a2d302bd6a5d5d5f375fb913a472
parent4ac7b20c2006414b1ad708f61c2e31fc494bb4ee (diff)
downloadpaludis-8294cd0acad913897cb79aba7d94144254fdb4f3.tar.gz
paludis-8294cd0acad913897cb79aba7d94144254fdb4f3.tar.xz
Add typedefs
-rw-r--r--paludis/util/map.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/paludis/util/map.hh b/paludis/util/map.hh
index 3ebf754..4030567 100644
--- a/paludis/util/map.hh
+++ b/paludis/util/map.hh
@@ -67,6 +67,15 @@ namespace paludis
///\}
+ ///\name Standard library typedefs
+ ///\{
+
+ typedef std::pair<const K_, V_> value_type;
+ typedef std::pair<const K_, V_> & reference;
+ typedef const reference & const_reference;
+
+ ///\}
+
///\name Iteration
///\{