]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/thread/csbl/memory/allocator_arg.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / thread / csbl / memory / allocator_arg.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_ALLOCATOR_ARG_HPP
10 #define BOOST_CSBL_MEMORY_ALLOCATOR_ARG_HPP
11
12 #include <boost/thread/csbl/memory/config.hpp>
13
14 // 20.7.6, allocator argument tag
15 #if defined BOOST_NO_CXX11_ALLOCATOR
16 #include <boost/container/scoped_allocator.hpp>
17
18 namespace boost
19 {
20 namespace csbl
21 {
22 using ::boost::container::allocator_arg_t;
23 using ::boost::container::allocator_arg;
24 }
25 }
26 #else
27 namespace boost
28 {
29 namespace csbl
30 {
31 using ::std::allocator_arg_t;
32 using ::std::allocator_arg;
33 }
34 }
35 #endif // BOOST_NO_CXX11_ALLOCATOR
36 namespace boost
37 {
38 using ::boost::csbl::allocator_arg_t;
39 using ::boost::csbl::allocator_arg;
40 }
41 #endif // header