File indexing completed on 2025-01-18 09:29:24
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_BEAST_DETAIL_ALLOCATOR_HPP
0011 #define BOOST_BEAST_DETAIL_ALLOCATOR_HPP
0012
0013 #include <boost/config.hpp>
0014 #ifdef BOOST_NO_CXX11_ALLOCATOR
0015 #include <boost/container/allocator_traits.hpp>
0016 #else
0017 #include <memory>
0018 #endif
0019
0020 namespace boost {
0021 namespace beast {
0022 namespace detail {
0023
0024
0025
0026
0027
0028 #ifdef BOOST_NO_CXX11_ALLOCATOR
0029 template<class Alloc>
0030 using allocator_traits = boost::container::allocator_traits<Alloc>;
0031
0032 #else
0033 template<class Alloc>
0034 using allocator_traits = std::allocator_traits<Alloc>;
0035
0036 #endif
0037
0038 }
0039 }
0040 }
0041
0042 #endif