aboutsummaryrefslogtreecommitdiff
path: root/odb/tr1/lazy-ptr.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/tr1/lazy-ptr.ixx')
-rw-r--r--odb/tr1/lazy-ptr.ixx14
1 files changed, 14 insertions, 0 deletions
diff --git a/odb/tr1/lazy-ptr.ixx b/odb/tr1/lazy-ptr.ixx
index b33a12d..59d72c0 100644
--- a/odb/tr1/lazy-ptr.ixx
+++ b/odb/tr1/lazy-ptr.ixx
@@ -207,6 +207,13 @@ namespace odb
}
template <class T>
+ inline std::tr1::shared_ptr<T> lazy_shared_ptr<T>::
+ get_eager () const
+ {
+ return p_;
+ }
+
+ template <class T>
template <class DB, class ID>
inline lazy_shared_ptr<T>::
lazy_shared_ptr (DB& db, const ID& id): i_ (db, id) {}
@@ -518,6 +525,13 @@ namespace odb
}
template <class T>
+ inline std::tr1::weak_ptr<T> lazy_weak_ptr<T>::
+ get_eager () const
+ {
+ return p_;
+ }
+
+ template <class T>
template <class DB, class ID>
inline lazy_weak_ptr<T>::
lazy_weak_ptr (DB& db, const ID& id): i_ (db, id) {}