Sha256: 36385dfb26e02df988996fb542d41c50c4003a6f4e97c69b43dce5c1b089b170

Contents?: true

Size: 1.59 KB

Versions: 28

Compression:

Stored size: 1.59 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_DETAIL_POOL_COMMON_HPP
#define BOOST_CONTAINER_DETAIL_POOL_COMMON_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>

#include <boost/intrusive/slist.hpp>

namespace boost {
namespace container {
namespace container_detail {

template<class VoidPointer>
struct node_slist
{
   //This hook will be used to chain the individual nodes
    typedef typename bi::make_slist_base_hook
      <bi::void_pointer<VoidPointer>, bi::link_mode<bi::normal_link> >::type slist_hook_t;

   //A node object will hold node_t when it's not allocated
   typedef slist_hook_t node_t;

   typedef typename bi::make_slist
      <node_t, bi::linear<true>, bi::cache_last<true>, bi::base_hook<slist_hook_t> >::type node_slist_t;
};

template<class T>
struct is_stateless_segment_manager
{
   static const bool value = false;
};

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

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

#endif   //#ifndef BOOST_CONTAINER_DETAIL_ADAPTIVE_NODE_POOL_IMPL_HPP

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
passenger-5.3.3 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.3.2 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.3.1 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.3.0 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.2.3 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.2.2 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.2.1 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.2.0 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.1.12 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.1.11 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.1.10 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.1.9 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.1.8 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.1.7 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.1.6 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.1.5 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.1.4 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.1.3 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.1.2 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp
passenger-5.1.1 src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp