From 47d57dc9af5db83e5b508282b844064caf9b7968 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 31 Aug 2011 14:08:26 +0200 Subject: Add transient() predicate --- odb/context.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'odb/context.hxx') diff --git a/odb/context.hxx b/odb/context.hxx index f5c58aa..db0b387 100644 --- a/odb/context.hxx +++ b/odb/context.hxx @@ -83,6 +83,12 @@ public: return t.count ("object"); } + static bool + transient (semantics::data_member& m) + { + return m.count ("transient"); + } + // Check whether the type is a wrapper. Return the wrapped type if // it is a wrapper and NULL otherwise. // -- cgit v1.1