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
25namespace boost {
26
27BOOST_LOG_OPEN_NAMESPACE
28
29namespace aux {
30
31using std::unique_ptr;
32
33} // namespace aux
34
35BOOST_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
43namespace boost {
44
45BOOST_LOG_OPEN_NAMESPACE
46
47namespace aux {
48
49using boost::movelib::unique_ptr;
50
51} // namespace aux
52
53BOOST_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_
60

source code of boost/libs/log/src/unique_ptr.hpp