6 * Use, modification and distribution are subject to the
7 * Boost Software License, Version 1.0. (See accompanying file
8 * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
13 * LOCATION: see http://www.boost.org for most recent version.
14 * FILE char_regex_traits.cpp
15 * VERSION see <boost/version.hpp>
16 * DESCRIPTION: Declares deprecated traits classes char_regex_traits<>.
20 #ifndef BOOST_REGEX_V4_CHAR_REGEX_TRAITS_HPP
21 #define BOOST_REGEX_V4_CHAR_REGEX_TRAITS_HPP
25 #pragma warning(disable: 4103)
27 #ifdef BOOST_HAS_ABI_HEADERS
28 # include BOOST_ABI_PREFIX
38 // class char_regex_traits_i
39 // provides case insensitive traits classes (deprecated):
40 template <class charT>
41 class char_regex_traits_i : public regex_traits<charT> {};
44 class char_regex_traits_i<char> : public regex_traits<char>
47 typedef char char_type;
48 typedef unsigned char uchar_type;
49 typedef unsigned int size_type;
50 typedef regex_traits<char> base_type;
54 #ifndef BOOST_NO_WREGEX
56 class char_regex_traits_i<wchar_t> : public regex_traits<wchar_t>
59 typedef wchar_t char_type;
60 typedef unsigned short uchar_type;
61 typedef unsigned int size_type;
62 typedef regex_traits<wchar_t> base_type;
66 } // namespace deprecated
71 #pragma warning(disable: 4103)
73 #ifdef BOOST_HAS_ABI_HEADERS
74 # include BOOST_ABI_SUFFIX