aboutsummaryrefslogtreecommitdiff
path: root/odb/context.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/context.hxx')
-rw-r--r--odb/context.hxx6
1 files changed, 6 insertions, 0 deletions
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.
//