/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. #ifndef BOOST_POOLFWD_HPP
  9. #define BOOST_POOLFWD_HPP
  10. #include <boost/config.hpp> // for workarounds
  11. // std::size_t
  12. #include <cstddef>
  13. // boost::details::pool::default_mutex
  14. #include <boost/pool/detail/mutex.hpp>
  15. namespace boost {
  16. //
  17. // Location: <boost/pool/simple_segregated_storage.hpp>
  18. //
  19. template <typename SizeType = std::size_t>
  20. class simple_segregated_storage;
  21. //
  22. // Location: <boost/pool/pool.hpp>
  23. //
  24. struct default_user_allocator_new_delete;
  25. struct default_user_allocator_malloc_free;
  26. template <typename UserAllocator = default_user_allocator_new_delete>
  27. class pool;
  28. //
  29. // Location: <boost/pool/object_pool.hpp>
  30. //
  31. template <typename T, typename UserAllocator = default_user_allocator_new_delete>
  32. class object_pool;
  33. //
  34. // Location: <boost/pool/singleton_pool.hpp>
  35. //
  36. template <typename Tag, unsigned RequestedSize,
  37. typename UserAllocator = default_user_allocator_new_delete,
  38. typename Mutex = details::pool::default_mutex,
  39. unsigned NextSize = 32,
  40. unsigned MaxSize = 0>
  41. struct singleton_pool;
  42. //
  43. // Location: <boost/pool/pool_alloc.hpp>
  44. //
  45. struct pool_allocator_tag;
  46. template <typename T,
  47. typename UserAllocator = default_user_allocator_new_delete,
  48. typename Mutex = details::pool::default_mutex,
  49. unsigned NextSize = 32,
  50. unsigned MaxSize = 0>
  51. class pool_allocator;
  52. struct fast_pool_allocator_tag;
  53. template <typename T,
  54. typename UserAllocator = default_user_allocator_new_delete,
  55. typename Mutex = details::pool::default_mutex,
  56. unsigned NextSize = 32,
  57. unsigned MaxSize = 0>
  58. class fast_pool_allocator;
  59. } // namespace boost
  60. #endif