summaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
Diffstat (limited to 'odb')
-rw-r--r--odb/context.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/context.hxx b/odb/context.hxx
index 3055997..3461da2 100644
--- a/odb/context.hxx
+++ b/odb/context.hxx
@@ -247,6 +247,12 @@ public:
}
static semantics::type&
+ container_idt (semantics::type& c)
+ {
+ return *c.get<semantics::type*> ("tree-id-type");
+ }
+
+ static semantics::type&
container_vt (semantics::type& c)
{
return *c.get<semantics::type*> ("tree-value-type");