1 //////////////////////////////////////////////////////////////////////////////
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)
7 // See http://www.boost.org/libs/interprocess for documentation.
9 //////////////////////////////////////////////////////////////////////////////
11 #ifndef BOOST_INTERPROCESS_CONTAINERS_ALLOCATION_TYPE_HPP
12 #define BOOST_INTERPROCESS_CONTAINERS_ALLOCATION_TYPE_HPP
18 #include <boost/interprocess/detail/config_begin.hpp>
19 #include <boost/container/detail/allocation_type.hpp>
22 namespace interprocess {
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;
35 } //namespace interprocess {
38 #include <boost/interprocess/detail/config_end.hpp>
40 #endif // #ifndef BOOST_INTERPROCESS_CONTAINERS_VERSION_TYPE_HPP