]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/log/src/unique_ptr.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / log / src / unique_ptr.hpp
1 /*
2 * Copyright Andrey Semashev 2007 - 2015.
3 * Distributed under the Boost Software License, Version 1.0.
4 * (See accompanying file LICENSE_1_0.txt or copy at
5 * http://www.boost.org/LICENSE_1_0.txt)
6 */
7 /*!
8 * \file unique_ptr.hpp
9 * \author Andrey Semashev
10 * \date 18.07.2015
11 *
12 * \brief This header is the Boost.Log library implementation, see the library documentation
13 * at http://www.boost.org/doc/libs/release/libs/log/doc/html/index.html.
14 */
15
16 #ifndef BOOST_LOG_UNIQUE_PTR_HPP_INCLUDED_
17 #define BOOST_LOG_UNIQUE_PTR_HPP_INCLUDED_
18
19 #include <boost/log/detail/config.hpp>
20
21 #if !defined(BOOST_NO_CXX11_SMART_PTR)
22
23 #include <memory>
24
25 namespace boost {
26
27 BOOST_LOG_OPEN_NAMESPACE
28
29 namespace aux {
30
31 using std::unique_ptr;
32
33 } // namespace aux
34
35 BOOST_LOG_CLOSE_NAMESPACE // namespace log
36
37 } // namespace boost
38
39 #else // !defined(BOOST_NO_CXX11_SMART_PTR)
40
41 #include <boost/move/unique_ptr.hpp>
42
43 namespace boost {
44
45 BOOST_LOG_OPEN_NAMESPACE
46
47 namespace aux {
48
49 using boost::movelib::unique_ptr;
50
51 } // namespace aux
52
53 BOOST_LOG_CLOSE_NAMESPACE // namespace log
54
55 } // namespace boost
56
57 #endif // !defined(BOOST_NO_CXX11_SMART_PTR)
58
59 #endif // BOOST_LOG_UNIQUE_PTR_HPP_INCLUDED_