From ec355c48c49074bebeb597f6e5dcedfeb9d52fae Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 9 Dec 2010 10:36:15 +0200 Subject: Add lazy pointer support Built-in support is provided for raw, auto, and tr1 shared/weak pointers. New test: common/lazy-ptr. --- odb/pointer-traits.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'odb/pointer-traits.hxx') diff --git a/odb/pointer-traits.hxx b/odb/pointer-traits.hxx index 90d9b4b..07cc253 100644 --- a/odb/pointer-traits.hxx +++ b/odb/pointer-traits.hxx @@ -76,6 +76,7 @@ namespace odb { public: static pointer_kind const kind = pk_naked; + static bool const lazy = false; typedef T element_type; typedef T* pointer_type; @@ -136,6 +137,7 @@ namespace odb { public: static pointer_kind const kind = pk_unique; + static bool const lazy = false; typedef T element_type; typedef std::auto_ptr pointer_type; -- cgit v1.1