File indexing completed on 2025-01-18 09:28:24
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_STRING_STD_STRING_TRAITS_HPP
0012 #define BOOST_STRING_STD_STRING_TRAITS_HPP
0013
0014 #include <boost/algorithm/string/yes_no_type.hpp>
0015 #include <string>
0016 #include <boost/algorithm/string/sequence_traits.hpp>
0017
0018 namespace boost {
0019 namespace algorithm {
0020
0021
0022
0023
0024
0025 template<typename T, typename TraitsT, typename AllocT>
0026 class has_native_replace< std::basic_string<T, TraitsT, AllocT> >
0027 {
0028 public:
0029 #if BOOST_WORKAROUND( __IBMCPP__, <= 600 )
0030 enum { value = true } ;
0031 #else
0032 BOOST_STATIC_CONSTANT(bool, value=true);
0033 #endif
0034
0035 typedef mpl::bool_<has_native_replace<T>::value> type;
0036 };
0037
0038
0039
0040 }
0041 }
0042
0043
0044 #endif