diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-18 18:17:47 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-19 08:39:02 +0200 |
commit | bef1fce0e10b0b023dcf6e02214730754dc0fe17 (patch) | |
tree | 221e81a28b9e0368602d956e407fa59f9fe5a53c | |
parent | ce68e14b61cc25a28f7dbc39a609898b71df4017 (diff) |
Add function for getting container member id type
-rw-r--r-- | odb/context.hxx | 6 |
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"); |