From 254f244e6d3048ea0e0d3ad77c9f2ba64612224e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 21 Dec 2011 11:12:45 +0200 Subject: Add auto_() test for auto-id --- odb/context.hxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/odb/context.hxx b/odb/context.hxx index 919e880..808e18f 100644 --- a/odb/context.hxx +++ b/odb/context.hxx @@ -378,6 +378,12 @@ public: return m.count ("id"); } + static bool + auto_ (semantics::data_member& m) + { + return m.count ("auto"); + } + // The member scope is used to override readonly status when a readonly // class (object or composite value) inherits from a readwrite base. // -- cgit v1.1