aboutsummaryrefslogtreecommitdiff
path: root/odb/common.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-08-28 11:39:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-08-28 14:15:45 +0200
commit475a7c89e1c858ae8fec466670af4628129a42d4 (patch)
tree371d7084250767ae927e685fb7a5da630626280f /odb/common.hxx
parent64d0ceffaaf5f57a3d24a5210bf0ad2a8474a618 (diff)
Add wrapper support for containers
Diffstat (limited to 'odb/common.hxx')
-rw-r--r--odb/common.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/odb/common.hxx b/odb/common.hxx
index 86a39c7..e3b4285 100644
--- a/odb/common.hxx
+++ b/odb/common.hxx
@@ -18,8 +18,11 @@ struct object_members_base: traversal::class_, virtual context
virtual void
simple (semantics::data_member&);
+ // The second argument is the actual container type in case m.type ()
+ // is a wrapper.
+ //
virtual void
- container (semantics::data_member&);
+ container (semantics::data_member&, semantics::type&);
// If you override this function, you can call the base to traverse
// bases and members. The first argument is the data member and can