]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/thread/include/boost/thread/csbl/memory/pointer_traits.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / thread / include / boost / thread / csbl / memory / pointer_traits.hpp
1 // Copyright (C) 2013 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 // 2013/10 Vicente J. Botet Escriba
7 // Creation.
8
9 #ifndef BOOST_CSBL_MEMORY_POINTER_TRAITS_HPP
10 #define BOOST_CSBL_MEMORY_POINTER_TRAITS_HPP
11
12 #include <boost/thread/csbl/memory/config.hpp>
13
14 // 20.7.3, pointer traits
15 #if defined BOOST_NO_CXX11_ALLOCATOR
16 #include <boost/intrusive/pointer_traits.hpp>
17
18 namespace boost
19 {
20 namespace csbl
21 {
22 using ::boost::intrusive::pointer_traits;
23 }
24 }
25 #else
26 namespace boost
27 {
28 namespace csbl
29 {
30 using ::std::pointer_traits;
31 }
32 }
33 #endif // BOOST_NO_CXX11_ALLOCATOR
34
35 #endif // header