aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-05 23:25:17 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-05 23:26:28 +0000
commit90be84ddab43c347b3cef69a6a17a41fab3abc40 (patch)
tree06e8cee6b01dfccd640bf4be5b2fcf24dfc08bbe
parent52132956b5ffb54aeb99a72e375e48e3fa18ff36 (diff)
downloadpaludis-90be84ddab43c347b3cef69a6a17a41fab3abc40.tar.gz
paludis-90be84ddab43c347b3cef69a6a17a41fab3abc40.tar.xz
convenience typedefs
-rw-r--r--paludis/util/named_value.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/paludis/util/named_value.hh b/paludis/util/named_value.hh
index e4dedf2..9622740 100644
--- a/paludis/util/named_value.hh
+++ b/paludis/util/named_value.hh
@@ -31,6 +31,9 @@ namespace paludis
V_ _value;
public:
+ typedef K_ KeyType;
+ typedef V_ ValueType;
+
template <typename T_>
NamedValue(const NamedValue<K_, T_> & v) :
_value(v())