File indexing completed on 2025-01-30 09:34:56
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_CONTAINER_PMR_STRING_HPP
0012 #define BOOST_CONTAINER_PMR_STRING_HPP
0013
0014 #if defined (_MSC_VER)
0015 # pragma once
0016 #endif
0017
0018 #include <boost/container/string.hpp>
0019 #include <boost/container/pmr/polymorphic_allocator.hpp>
0020
0021 namespace boost {
0022 namespace container {
0023 namespace pmr {
0024
0025 #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
0026
0027 template <class CharT, class Traits = std::char_traits<CharT> >
0028 using basic_string =
0029 boost::container::basic_string<CharT, Traits, polymorphic_allocator<CharT> >;
0030
0031 #endif
0032
0033
0034
0035 template <class CharT, class Traits = std::char_traits<CharT> >
0036 struct basic_string_of
0037 {
0038 typedef boost::container::basic_string
0039 <CharT, Traits, polymorphic_allocator<CharT> > type;
0040 };
0041
0042 typedef basic_string_of<char>::type string;
0043
0044 typedef basic_string_of<wchar_t>::type wstring;
0045
0046 }
0047 }
0048 }
0049
0050 #endif