PageRenderTime 19ms CodeModel.GetById 15ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/pool/poolfwd.hpp

http://hadesmem.googlecode.com/
C++ Header | 76 lines | 36 code | 16 blank | 24 comment | 0 complexity | b2dd1790d96b168e0cec3c883009532f MD5 | raw file
 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,
50    unsigned MaxSize = 0>
51struct singleton_pool;
52
53//
54// Location: <boost/pool/pool_alloc.hpp>
55//
56struct pool_allocator_tag;
57
58template <typename T,
59    typename UserAllocator = default_user_allocator_new_delete,
60    typename Mutex = details::pool::default_mutex,
61    unsigned NextSize = 32,
62    unsigned MaxSize = 0>
63class pool_allocator;
64
65struct fast_pool_allocator_tag;
66
67template <typename T,
68    typename UserAllocator = default_user_allocator_new_delete,
69    typename Mutex = details::pool::default_mutex,
70    unsigned NextSize = 32,
71    unsigned MaxSize = 0>
72class fast_pool_allocator;
73
74} // namespace boost
75
76#endif