File indexing completed on 2025-01-18 09:51:22
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #ifndef BOOST_REGEX_V4_CHAR_REGEX_TRAITS_HPP
0021 #define BOOST_REGEX_V4_CHAR_REGEX_TRAITS_HPP
0022
0023 #ifdef BOOST_MSVC
0024 #pragma warning(push)
0025 #pragma warning(disable: 4103)
0026 #endif
0027 #ifdef BOOST_HAS_ABI_HEADERS
0028 # include BOOST_ABI_PREFIX
0029 #endif
0030 #ifdef BOOST_MSVC
0031 #pragma warning(pop)
0032 #endif
0033
0034 namespace boost{
0035
0036 namespace deprecated{
0037
0038
0039
0040 template <class charT>
0041 class char_regex_traits_i : public regex_traits<charT> {};
0042
0043 template<>
0044 class char_regex_traits_i<char> : public regex_traits<char>
0045 {
0046 public:
0047 typedef char char_type;
0048 typedef unsigned char uchar_type;
0049 typedef unsigned int size_type;
0050 typedef regex_traits<char> base_type;
0051
0052 };
0053
0054 #ifndef BOOST_NO_WREGEX
0055 template<>
0056 class char_regex_traits_i<wchar_t> : public regex_traits<wchar_t>
0057 {
0058 public:
0059 typedef wchar_t char_type;
0060 typedef unsigned short uchar_type;
0061 typedef unsigned int size_type;
0062 typedef regex_traits<wchar_t> base_type;
0063
0064 };
0065 #endif
0066 }
0067 }
0068
0069 #ifdef BOOST_MSVC
0070 #pragma warning(push)
0071 #pragma warning(disable: 4103)
0072 #endif
0073 #ifdef BOOST_HAS_ABI_HEADERS
0074 # include BOOST_ABI_SUFFIX
0075 #endif
0076 #ifdef BOOST_MSVC
0077 #pragma warning(pop)
0078 #endif
0079
0080 #endif
0081