source: NonGTP/Boost/boost/pool/poolfwd.hpp @ 857

Revision 857, 1.8 KB checked in by igarcia, 19 years ago (diff)
Line 
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.
8
9#ifndef BOOST_POOLFWD_HPP
10#define BOOST_POOLFWD_HPP
11
12#include <boost/config.hpp> // for workarounds
13
14// std::size_t
15#include <cstddef>
16
17// boost::details::pool::default_mutex
18#include <boost/pool/detail/mutex.hpp>
19
20namespace boost {
21
22//
23// Location: <boost/pool/simple_segregated_storage.hpp>
24//
25template <typename SizeType = std::size_t>
26class simple_segregated_storage;
27
28//
29// Location: <boost/pool/pool.hpp>
30//
31struct default_user_allocator_new_delete;
32struct default_user_allocator_malloc_free;
33
34template <typename UserAllocator = default_user_allocator_new_delete>
35class pool;
36
37//
38// Location: <boost/pool/object_pool.hpp>
39//
40template <typename T, typename UserAllocator = default_user_allocator_new_delete>
41class object_pool;
42
43//
44// Location: <boost/pool/singleton_pool.hpp>
45//
46template <typename Tag, unsigned RequestedSize,
47    typename UserAllocator = default_user_allocator_new_delete,
48    typename Mutex = details::pool::default_mutex,
49    unsigned NextSize = 32>
50struct singleton_pool;
51
52//
53// Location: <boost/pool/pool_alloc.hpp>
54//
55struct pool_allocator_tag;
56
57template <typename T,
58    typename UserAllocator = default_user_allocator_new_delete,
59    typename Mutex = details::pool::default_mutex,
60    unsigned NextSize = 32>
61class pool_allocator;
62
63struct fast_pool_allocator_tag;
64
65template <typename T,
66    typename UserAllocator = default_user_allocator_new_delete,
67    typename Mutex = details::pool::default_mutex,
68    unsigned NextSize = 32>
69class fast_pool_allocator;
70
71} // namespace boost
72
73#endif
Note: See TracBrowser for help on using the repository browser.