aboutsummaryrefslogtreecommitdiff
path: root/doc/manual.xhtml
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-05-21 19:22:51 -0400
committerBoris Kolpackov <boris@codesynthesis.com>2013-05-21 19:22:51 -0400
commitfa05ef6cd48602538df72dfe516892799f275cae (patch)
tree8159f697ba59f8fb69b412d121b94408cbf79d88 /doc/manual.xhtml
parent479d624a3abfdc81633b682e648bdc2582cde1b6 (diff)
Add ability to get underlying eager pointer in weak pointers
Diffstat (limited to 'doc/manual.xhtml')
-rw-r--r--doc/manual.xhtml5
1 files changed, 5 insertions, 0 deletions
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&lt;T> get_eager () const;
+
// Initialization with a persistent loaded object.
//
template &lt;class Y> lazy_ptr (database&amp;, Y*);