From fa05ef6cd48602538df72dfe516892799f275cae Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 21 May 2013 19:22:51 -0400 Subject: Add ability to get underlying eager pointer in weak pointers --- doc/manual.xhtml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/manual.xhtml b/doc/manual.xhtml index 75f9102..c879248 100644 --- a/doc/manual.xhtml +++ b/doc/manual.xhtml @@ -7080,6 +7080,11 @@ public: // void unload () const; + // Get the underlying eager pointer. If this is an unloaded pointer + // to a persistent object, then the returned pointer will be NULL. + // + eager_ptr<T> get_eager () const; + // Initialization with a persistent loaded object. // template <class Y> lazy_ptr (database&, Y*); -- cgit v1.1