Blame view

3rdparty/boost_1_81_0/boost/pool/poolfwd.hpp 1.92 KB
dbf9e800   Hu Chunming   提交_GLIBCXX_USE_CX...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
  // Copyright (C) 2000, 2001 Stephen Cleary
  //
  // Distributed under the Boost Software License, Version 1.0. (See
  // accompanying file LICENSE_1_0.txt or copy at
  // http://www.boost.org/LICENSE_1_0.txt)
  //
  // See http://www.boost.org for updates, documentation, and revision history.
  
  #ifndef BOOST_POOLFWD_HPP
  #define BOOST_POOLFWD_HPP
  
  /*!
    \file
    \brief Forward declarations of all public (non-implemention) classes.
  */
  
  
  #include <boost/config.hpp> // for workarounds
  
  // std::size_t
  #include <cstddef>
  
  // boost::details::pool::default_mutex
  #include <boost/pool/detail/mutex.hpp>
  
  namespace boost {
  
  //
  // Location: <boost/pool/simple_segregated_storage.hpp>
  //
  template <typename SizeType = std::size_t>
  class simple_segregated_storage;
  
  //
  // Location: <boost/pool/pool.hpp>
  //
  struct default_user_allocator_new_delete;
  struct default_user_allocator_malloc_free;
  
  template <typename UserAllocator = default_user_allocator_new_delete>
  class pool;
  
  //
  // Location: <boost/pool/object_pool.hpp>
  //
  template <typename T, typename UserAllocator = default_user_allocator_new_delete>
  class object_pool;
  
  //
  // Location: <boost/pool/singleton_pool.hpp>
  //
  template <typename Tag, unsigned RequestedSize,
      typename UserAllocator = default_user_allocator_new_delete,
      typename Mutex = details::pool::default_mutex,
      unsigned NextSize = 32,
      unsigned MaxSize = 0>
  class singleton_pool;
  
  //
  // Location: <boost/pool/pool_alloc.hpp>
  //
  struct pool_allocator_tag;
  
  template <typename T,
      typename UserAllocator = default_user_allocator_new_delete,
      typename Mutex = details::pool::default_mutex,
      unsigned NextSize = 32,
      unsigned MaxSize = 0>
  class pool_allocator;
  
  struct fast_pool_allocator_tag;
  
  template <typename T,
      typename UserAllocator = default_user_allocator_new_delete,
      typename Mutex = details::pool::default_mutex,
      unsigned NextSize = 32,
      unsigned MaxSize = 0>
  class fast_pool_allocator;
  
  } // namespace boost
  
  #endif