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
14 \brief Forward declarations of all public (non-implemention) classes.
18 #include <boost/config.hpp> // for workarounds
23 // boost::details::pool::default_mutex
24 #include <boost/pool/detail/mutex.hpp>
29 // Location: <boost/pool/simple_segregated_storage.hpp>
31 template <typename SizeType = std::size_t>
32 class simple_segregated_storage;
35 // Location: <boost/pool/pool.hpp>
37 struct default_user_allocator_new_delete;
38 struct default_user_allocator_malloc_free;
40 template <typename UserAllocator = default_user_allocator_new_delete>
44 // Location: <boost/pool/object_pool.hpp>
46 template <typename T, typename UserAllocator = default_user_allocator_new_delete>
50 // Location: <boost/pool/singleton_pool.hpp>
52 template <typename Tag, unsigned RequestedSize,
53 typename UserAllocator = default_user_allocator_new_delete,
54 typename Mutex = details::pool::default_mutex,
55 unsigned NextSize = 32,
60 // Location: <boost/pool/pool_alloc.hpp>
62 struct pool_allocator_tag;
65 typename UserAllocator = default_user_allocator_new_delete,
66 typename Mutex = details::pool::default_mutex,
67 unsigned NextSize = 32,
71 struct fast_pool_allocator_tag;
74 typename UserAllocator = default_user_allocator_new_delete,
75 typename Mutex = details::pool::default_mutex,
76 unsigned NextSize = 32,
78 class fast_pool_allocator;