Imported Upstream version 1.57.0
[platform/upstream/boost.git] / 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 #if defined(_MSC_VER)
15 #  pragma once
16 #endif
17
18 #include <boost/interprocess/detail/config_begin.hpp>
19 #include <boost/container/detail/allocation_type.hpp>
20
21 namespace boost {
22 namespace interprocess {
23
24 #if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
25 typedef int allocation_type;
26 #endif   //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
27 static const allocation_type allocate_new       = boost::container::allocate_new;
28 static const allocation_type expand_fwd         = boost::container::expand_fwd;
29 static const allocation_type expand_bwd         = boost::container::expand_bwd;
30 static const allocation_type shrink_in_place    = boost::container::shrink_in_place;
31 static const allocation_type try_shrink_in_place= boost::container::try_shrink_in_place;
32 static const allocation_type nothrow_allocation = boost::container::nothrow_allocation;
33 static const allocation_type zero_memory        = boost::container::zero_memory;
34
35 }  //namespace interprocess {
36 }  //namespace boost {
37
38 #include <boost/interprocess/detail/config_end.hpp>
39
40 #endif //   #ifndef  BOOST_INTERPROCESS_CONTAINERS_VERSION_TYPE_HPP