diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-02-18 10:42:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-02-18 10:42:41 +0200 |
commit | 79e1e744a2f306f9c04b0cda3058e9ed40d8421c (patch) | |
tree | 7c3f927434da74b5305fd239f0f3f94a513c6d5f /odb/lazy-ptr.hxx | |
parent | 3c7bfb25892842a1083b4d6393d5cb4aff615f2c (diff) |
Add odb::core namespace to be used in using-directives
Port all the examples and tests.
Diffstat (limited to 'odb/lazy-ptr.hxx')
-rw-r--r-- | odb/lazy-ptr.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/lazy-ptr.hxx b/odb/lazy-ptr.hxx index 6514d53..9eb8af8 100644 --- a/odb/lazy-ptr.hxx +++ b/odb/lazy-ptr.hxx @@ -186,6 +186,12 @@ namespace odb mutable std::auto_ptr<T> p_; mutable lazy_ptr_impl<T> i_; }; + + namespace core + { + using odb::lazy_ptr; + using odb::lazy_auto_ptr; + } } #include <odb/lazy-ptr.ixx> |