1 // Copyright (C) 2000, 2001 Stephen Cleary
3 // Distributed under the Boost Software License, Version 1.0. (See
4 // accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
7 // See http://www.boost.org for updates, documentation, and revision history.
9 #ifndef BOOST_POOLFWD_HPP
10 #define BOOST_POOLFWD_HPP
12 #include <boost/config.hpp> // for workarounds
17 // boost::details::pool::default_mutex
18 #include <boost/pool/detail/mutex.hpp>
23 // Location: <boost/pool/simple_segregated_storage.hpp>
25 template <typename SizeType
= std::size_t>
26 class simple_segregated_storage
;
29 // Location: <boost/pool/pool.hpp>
31 struct default_user_allocator_new_delete
;
32 struct default_user_allocator_malloc_free
;
34 template <typename UserAllocator
= default_user_allocator_new_delete
>
38 // Location: <boost/pool/object_pool.hpp>
40 template <typename T
, typename UserAllocator
= default_user_allocator_new_delete
>
44 // Location: <boost/pool/singleton_pool.hpp>
46 template <typename Tag
, unsigned RequestedSize
,
47 typename UserAllocator
= default_user_allocator_new_delete
,
48 typename Mutex
= details::pool::default_mutex
,
49 unsigned NextSize
= 32>
50 struct singleton_pool
;
53 // Location: <boost/pool/pool_alloc.hpp>
55 struct pool_allocator_tag
;
58 typename UserAllocator
= default_user_allocator_new_delete
,
59 typename Mutex
= details::pool::default_mutex
,
60 unsigned NextSize
= 32>
63 struct fast_pool_allocator_tag
;
66 typename UserAllocator
= default_user_allocator_new_delete
,
67 typename Mutex
= details::pool::default_mutex
,
68 unsigned NextSize
= 32>
69 class fast_pool_allocator
;