Realistic 3D camera system
3D camera system components
shared_ptr.hpp
Go to the documentation of this file.
1 //
2 // detail/shared_ptr.hpp
3 // ~~~~~~~~~~~~~~~~~~~~~
4 //
5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 //
7 // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 //
10 
11 #ifndef ASIO_DETAIL_SHARED_PTR_HPP
12 #define ASIO_DETAIL_SHARED_PTR_HPP
13 
14 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 # pragma once
16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 
18 #include "asio/detail/config.hpp"
19 
20 #if defined(ASIO_HAS_STD_SHARED_PTR)
21 # include <memory>
22 #else // defined(ASIO_HAS_STD_SHARED_PTR)
23 # include <boost/shared_ptr.hpp>
24 #endif // defined(ASIO_HAS_STD_SHARED_PTR)
25 
26 namespace asio {
27 namespace detail {
28 
29 #if defined(ASIO_HAS_STD_SHARED_PTR)
30 using std::shared_ptr;
31 #else // defined(ASIO_HAS_STD_SHARED_PTR)
32 using boost::shared_ptr;
33 #endif // defined(ASIO_HAS_STD_SHARED_PTR)
34 
35 } // namespace detail
36 } // namespace asio
37 
38 #endif // ASIO_DETAIL_SHARED_PTR_HPP