diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-07 10:37:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-07 10:37:53 +0200 |
commit | 6e374de9ae2f2978f2fca3390aba4ea3f72bfade (patch) | |
tree | a603c240f79494e0139445c20f63f32db04d5277 /odb/options.cli | |
parent | fde4431ec608b467de6ab205e3f73848fe9efbdf (diff) |
Switch to C++11, get rid of auto_ptr use
Diffstat (limited to 'odb/options.cli')
-rw-r--r-- | odb/options.cli | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/options.cli b/odb/options.cli index e9ed272..1209177 100644 --- a/odb/options.cli +++ b/odb/options.cli @@ -211,10 +211,10 @@ class options \cb{db pointer} pragma will use this pointer by default. The value of this option can be '\cb{*}' which denotes the raw pointer and is the default, or qualified name of a smart pointer class template, - for example, \cb{std::auto_ptr}. In the latter case, the ODB compiler + for example, \cb{std::shared_ptr}. In the latter case, the ODB compiler constructs the object or view pointer by adding a single template argument of the object or view type to the qualified name, for example - \cb{std::auto_ptr<object>}. The ODB runtime uses object and view + \cb{std::shared_ptr<object>}. The ODB runtime uses object and view pointers to return, and, in case of objects, pass and cache dynamically allocated instances of object and view types. |