diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-05-04 16:08:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-05-04 16:08:45 +0200 |
commit | 0aea06d46ebbf0455652d02e09a591df99598bc9 (patch) | |
tree | 48ac8a3673b966fc83609f494b6bc5616f60637e | |
parent | cfcf639af319cc764096ad6b487fd71930f98edb (diff) |
Add instance::get() function
-rw-r--r-- | odb/relational/common.hxx | 6 |
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&); |