From 475a7c89e1c858ae8fec466670af4628129a42d4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 28 Aug 2011 11:39:17 +0200 Subject: Add wrapper support for containers --- odb/common.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'odb/common.hxx') 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 -- cgit v1.1