1 | // Copyright (C) 2014 Vicente J. Botet Escriba |
2 | // |
3 | // Distributed under the Boost Software License, Version 1.0. (See accompanying |
4 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
5 | // |
6 | // 2014/10 Vicente J. Botet Escriba |
7 | // Creation. |
8 | |
9 | #ifndef BOOST_CSBL_MEMORY_SHARED_PTR_HPP |
10 | #define BOOST_CSBL_MEMORY_SHARED_PTR_HPP |
11 | |
12 | #include <boost/thread/csbl/memory/config.hpp> |
13 | |
14 | #if defined BOOST_NO_CXX11_SMART_PTR |
15 | |
16 | #include <boost/smart_ptr/shared_ptr.hpp> |
17 | #include <boost/smart_ptr/make_shared.hpp> |
18 | |
19 | namespace boost |
20 | { |
21 | namespace csbl |
22 | { |
23 | using ::boost::shared_ptr; |
24 | using ::boost::make_shared; |
25 | } |
26 | } |
27 | |
28 | #else |
29 | |
30 | #include <boost/shared_ptr.hpp> |
31 | |
32 | namespace boost |
33 | { |
34 | namespace csbl |
35 | { |
36 | using std::shared_ptr; |
37 | using std::make_shared; |
38 | } |
39 | } |
40 | |
41 | #endif |
42 | #endif // header |
43 | |