fix doc example typo
[boost.git] / boost / pool / poolfwd.hpp
blob89b3dd3760c635566360eae2263ffa32b32617b0
1 // Copyright (C) 2000, 2001 Stephen Cleary
2 //
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)
6 //
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
14 // std::size_t
15 #include <cstddef>
17 // boost::details::pool::default_mutex
18 #include <boost/pool/detail/mutex.hpp>
20 namespace boost {
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>
35 class pool;
38 // Location: <boost/pool/object_pool.hpp>
40 template <typename T, typename UserAllocator = default_user_allocator_new_delete>
41 class object_pool;
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;
57 template <typename T,
58 typename UserAllocator = default_user_allocator_new_delete,
59 typename Mutex = details::pool::default_mutex,
60 unsigned NextSize = 32>
61 class pool_allocator;
63 struct fast_pool_allocator_tag;
65 template <typename T,
66 typename UserAllocator = default_user_allocator_new_delete,
67 typename Mutex = details::pool::default_mutex,
68 unsigned NextSize = 32>
69 class fast_pool_allocator;
71 } // namespace boost
73 #endif