]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/interprocess/containers/allocation_type.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / interprocess / containers / allocation_type.hpp
1 //////////////////////////////////////////////////////////////////////////////
2 //
3 // (C) Copyright Ion Gaztanaga 2008-2012. Distributed under the Boost
4 // Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //
7 // See http://www.boost.org/libs/interprocess for documentation.
8 //
9 //////////////////////////////////////////////////////////////////////////////
10
11 #ifndef BOOST_INTERPROCESS_CONTAINERS_ALLOCATION_TYPE_HPP
12 #define BOOST_INTERPROCESS_CONTAINERS_ALLOCATION_TYPE_HPP
13
14 #ifndef BOOST_CONFIG_HPP
15 # include <boost/config.hpp>
16 #endif
17 #
18 #if defined(BOOST_HAS_PRAGMA_ONCE)
19 # pragma once
20 #endif
21
22 #include <boost/interprocess/detail/config_begin.hpp>
23 #include <boost/container/detail/allocation_type.hpp>
24
25 namespace boost {
26 namespace interprocess {
27
28 #if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
29 typedef int allocation_type;
30 #endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
31 static const allocation_type allocate_new = boost::container::allocate_new;
32 static const allocation_type expand_fwd = boost::container::expand_fwd;
33 static const allocation_type expand_bwd = boost::container::expand_bwd;
34 static const allocation_type shrink_in_place = boost::container::shrink_in_place;
35 static const allocation_type try_shrink_in_place= boost::container::try_shrink_in_place;
36 static const allocation_type nothrow_allocation = boost::container::nothrow_allocation;
37 static const allocation_type zero_memory = boost::container::zero_memory;
38
39 } //namespace interprocess {
40 } //namespace boost {
41
42 #include <boost/interprocess/detail/config_end.hpp>
43
44 #endif // #ifndef BOOST_INTERPROCESS_CONTAINERS_ALLOCATION_TYPE_HPP