memory.hpp 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // Copyright (C) 2013 Vicente J. Botet Escriba
  2. //
  3. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. //
  6. // 2013/10 Vicente J. Botet Escriba
  7. // Creation.
  8. #ifndef BOOST_CSBL_MEMORY_HPP
  9. #define BOOST_CSBL_MEMORY_HPP
  10. // 20.7.2 Header <memory> synopsis
  11. // 20.7.3, pointer traits
  12. #include <boost/thread/csbl/memory/pointer_traits.hpp>
  13. // 20.7.4, pointer safety
  14. // 20.7.5, pointer alignment function
  15. // 20.7.6, allocator argument tag
  16. #include <boost/thread/csbl/memory/allocator_arg.hpp>
  17. // 20.7.8, allocator traits
  18. #include <boost/thread/csbl/memory/allocator_traits.hpp>
  19. // 20.7.7, uses_allocator
  20. #include <boost/thread/csbl/memory/scoped_allocator.hpp>
  21. // 20.7.9, the default allocator:
  22. namespace boost
  23. {
  24. namespace csbl
  25. {
  26. using ::std::allocator;
  27. }
  28. }
  29. // 20.7.10, raw storage iterator:
  30. // 20.7.11, temporary buffers:
  31. // 20.7.12, specialized algorithms:
  32. // 20.8.1 class template unique_ptr:
  33. // default_delete
  34. #include <boost/thread/csbl/memory/default_delete.hpp>
  35. #include <boost/thread/csbl/memory/unique_ptr.hpp>
  36. // 20.8.2.1, class bad_weak_ptr:
  37. // 20.8.2.2, class template shared_ptr:
  38. // 20.8.2.2.6, shared_ptr creation
  39. // 20.8.2.2.7, shared_ptr comparisons:
  40. // 20.8.2.2.8, shared_ptr specialized algorithms:
  41. // 20.8.2.2.9, shared_ptr casts:
  42. // 20.8.2.2.10, shared_ptr get_deleter:
  43. // 20.8.2.2.11, shared_ptr I/O:
  44. // 20.8.2.3, class template weak_ptr:
  45. // 20.8.2.3.6, weak_ptr specialized algorithms:
  46. // 20.8.2.3.7, class template owner_less:
  47. // 20.8.2.4, class template enable_shared_from_this:
  48. // 20.8.2.5, shared_ptr atomic access:
  49. // 20.8.2.6 hash support
  50. #endif // header