summaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-05-04 16:08:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-05-04 16:08:45 +0200
commit0aea06d46ebbf0455652d02e09a591df99598bc9 (patch)
tree48ac8a3673b966fc83609f494b6bc5616f60637e /odb
parentcfcf639af319cc764096ad6b487fd71930f98edb (diff)
Add instance::get() function
Diffstat (limited to 'odb')
-rw-r--r--odb/relational/common.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/relational/common.hxx b/odb/relational/common.hxx
index 6d8ef1a..eed2234 100644
--- a/odb/relational/common.hxx
+++ b/odb/relational/common.hxx
@@ -272,6 +272,12 @@ namespace relational
return *x_;
}
+ B*
+ get () const
+ {
+ return x_;
+ }
+
private:
instance& operator= (instance const&);