aboutsummaryrefslogtreecommitdiff
path: root/odb/lazy-ptr.hxx
AgeCommit message (Collapse)AuthorFilesLines
2016-06-15Get rid of C++11 deprecation warnings for auto_ptr, exception specsBoris Kolpackov1-11/+12
In particular, std::auto_ptr is no longer mapped in C++11.
2015-08-14Reimplement lazy_weak_ptr lock() to preserve database typeBoris Kolpackov1-0/+6
Now we initialize the returned lazy_shared_ptr with the same loader function as the one set for weak_ptr.
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2013-05-21Add ability to get underlying eager pointer in weak pointersBoris Kolpackov1-0/+25
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-11-29Namespace management for static multi-database supportBoris Kolpackov1-2/+2
Now in libodb the odb::core namespace is split into odb::common (database- independent stuff) and odb::core proper, which imports odb::common. Each database runtime now defines odb::<db>::core namespace which also imports odb::common and adds the database-specific bits. The overall idea is that one can do using namespace odb::<db>::core just like for odb::core.
2012-10-29Add static multi-database support for lazy pointersBoris Kolpackov1-42/+42
A lazy pointer must load the object using the static database interface with which it was initialized.
2012-03-02Portability workarounds for incomplete C++11 support in VC++ and old GCCBoris Kolpackov1-9/+54
2012-02-29Support for C++11 std::unique_ptr as object pointerBoris Kolpackov1-16/+144
This includes the odb::lazy_unique_ptr implementation.
2012-02-28Support for C++11 std::shared_ptr/weak_ptr as object pointersBoris Kolpackov1-3/+261
This includes odb::lazy_shared_ptr and odb::lazy_weak_ptr implementations.
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2011-04-18Fix loaded() function in lazy_ptr to conform to documentationBoris Kolpackov1-0/+16
2011-02-18Add odb::core namespace to be used in using-directivesBoris Kolpackov1-0/+6
Port all the examples and tests.
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-12-09Add lazy pointer supportBoris Kolpackov1-0/+198
Built-in support is provided for raw, auto, and tr1 shared/weak pointers. New test: common/lazy-ptr.