Sha256: 81611e89ed54d9deb3fd03c648e6f58e45fca65410f1a846cd422d4b562d8a1d

Contents?: true

Size: 1.97 KB

Versions: 54

Compression:

Stored size: 1.97 KB

Contents

///////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2005-2013. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/container for documentation.
//
///////////////////////////////////////////////////////////////////////////////

#ifndef BOOST_CONTAINER_ALLOCATION_TYPE_HPP
#define BOOST_CONTAINER_ALLOCATION_TYPE_HPP

#ifndef BOOST_CONFIG_HPP
#  include <boost/config.hpp>
#endif

#if defined(BOOST_HAS_PRAGMA_ONCE)
#  pragma once
#endif

#include <boost/container/detail/config_begin.hpp>
#include <boost/container/detail/workaround.hpp>

namespace boost {
namespace container {

#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
enum allocation_type_v
{
   // constants for allocation commands
   allocate_new_v   = 0x01,
   expand_fwd_v     = 0x02,
   expand_bwd_v     = 0x04,
//   expand_both    = expand_fwd | expand_bwd,
//   expand_or_new  = allocate_new | expand_both,
   shrink_in_place_v = 0x08,
   nothrow_allocation_v = 0x10,
   zero_memory_v = 0x20,
   try_shrink_in_place_v = 0x40
};

typedef unsigned int allocation_type;
#endif   //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
static const allocation_type allocate_new       = (allocation_type)allocate_new_v;
static const allocation_type expand_fwd         = (allocation_type)expand_fwd_v;
static const allocation_type expand_bwd         = (allocation_type)expand_bwd_v;
static const allocation_type shrink_in_place    = (allocation_type)shrink_in_place_v;
static const allocation_type try_shrink_in_place= (allocation_type)try_shrink_in_place_v;
static const allocation_type nothrow_allocation = (allocation_type)nothrow_allocation_v;
static const allocation_type zero_memory        = (allocation_type)zero_memory_v;

}  //namespace container {
}  //namespace boost {

#include <boost/container/detail/config_end.hpp>

#endif   //BOOST_CONTAINER_ALLOCATION_TYPE_HPP

Version data entries

54 entries across 54 versions & 2 rubygems

Version Path
passenger-6.0.23 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.8 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.7 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.6 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.5 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.4 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.3 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp
passenger-6.0.2 src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp