From 0aea06d46ebbf0455652d02e09a591df99598bc9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 4 May 2011 16:08:45 +0200 Subject: Add instance::get() function --- odb/relational/common.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'odb/relational/common.hxx') 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&); -- cgit v1.1