Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:05:02

0001 // Copyright (C) 2000, 2001 Stephen Cleary
0002 //
0003 // Distributed under the Boost Software License, Version 1.0. (See
0004 // accompanying file LICENSE_1_0.txt or copy at
0005 // http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 // See http://www.boost.org for updates, documentation, and revision history.
0008 
0009 #ifndef BOOST_POOLFWD_HPP
0010 #define BOOST_POOLFWD_HPP
0011 
0012 /*!
0013   \file
0014   \brief Forward declarations of all public (non-implemention) classes.
0015 */
0016 
0017 
0018 #include <boost/config.hpp> // for workarounds
0019 
0020 // std::size_t
0021 #include <cstddef>
0022 
0023 // boost::details::pool::default_mutex
0024 #include <boost/pool/detail/mutex.hpp>
0025 
0026 namespace boost {
0027 
0028 //
0029 // Location: <boost/pool/simple_segregated_storage.hpp>
0030 //
0031 template <typename SizeType = std::size_t>
0032 class simple_segregated_storage;
0033 
0034 //
0035 // Location: <boost/pool/pool.hpp>
0036 //
0037 struct default_user_allocator_new_delete;
0038 struct default_user_allocator_malloc_free;
0039 
0040 template <typename UserAllocator = default_user_allocator_new_delete>
0041 class pool;
0042 
0043 //
0044 // Location: <boost/pool/object_pool.hpp>
0045 //
0046 template <typename T, typename UserAllocator = default_user_allocator_new_delete>
0047 class object_pool;
0048 
0049 //
0050 // Location: <boost/pool/singleton_pool.hpp>
0051 //
0052 template <typename Tag, unsigned RequestedSize,
0053     typename UserAllocator = default_user_allocator_new_delete,
0054     typename Mutex = details::pool::default_mutex,
0055     unsigned NextSize = 32,
0056     unsigned MaxSize = 0>
0057 class singleton_pool;
0058 
0059 //
0060 // Location: <boost/pool/pool_alloc.hpp>
0061 //
0062 struct pool_allocator_tag;
0063 
0064 template <typename T,
0065     typename UserAllocator = default_user_allocator_new_delete,
0066     typename Mutex = details::pool::default_mutex,
0067     unsigned NextSize = 32,
0068     unsigned MaxSize = 0>
0069 class pool_allocator;
0070 
0071 struct fast_pool_allocator_tag;
0072 
0073 template <typename T,
0074     typename UserAllocator = default_user_allocator_new_delete,
0075     typename Mutex = details::pool::default_mutex,
0076     unsigned NextSize = 32,
0077     unsigned MaxSize = 0>
0078 class fast_pool_allocator;
0079 
0080 } // namespace boost
0081 
0082 #endif