From 7410d96727a614e1b0168727a6dc586efd20ad89 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Apr 2011 11:16:50 +0200 Subject: Add truth table for loaded() lazy_ptr function --- doc/manual.xhtml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc') diff --git a/doc/manual.xhtml b/doc/manual.xhtml index 6cdbc77..b56e21e 100644 --- a/doc/manual.xhtml +++ b/doc/manual.xhtml @@ -4572,7 +4572,15 @@ public: // Lazy loading interface. // public: + // NULL loaded() + // + // true true NULL pointer to transient object + // false true valid pointer to persistent object + // true false unloaded pointer to persistent object + // false false valid pointer to transient object + // bool loaded () const; + eager_ptr<T> load () const; // Unload the pointer. For transient objects this function is -- cgit v1.1