From bef1fce0e10b0b023dcf6e02214730754dc0fe17 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Apr 2011 18:17:47 +0200 Subject: Add function for getting container member id type --- odb/context.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'odb') 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 ("tree-id-type"); + } + + static semantics::type& container_vt (semantics::type& c) { return *c.get ("tree-value-type"); -- cgit v1.1