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
23 #ifdef BOOST_HAS_ABI_HEADERS
24 # include BOOST_ABI_PREFIX
31 // class char_regex_traits_i
32 // provides case insensitive traits classes (deprecated):
33 template <class charT>
34 class char_regex_traits_i : public regex_traits<charT> {};
37 class char_regex_traits_i<char> : public regex_traits<char>
40 typedef char char_type;
41 typedef unsigned char uchar_type;
42 typedef unsigned int size_type;
43 typedef regex_traits<char> base_type;
47 #ifndef BOOST_NO_WREGEX
49 class char_regex_traits_i<wchar_t> : public regex_traits<wchar_t>
52 typedef wchar_t char_type;
53 typedef unsigned short uchar_type;
54 typedef unsigned int size_type;
55 typedef regex_traits<wchar_t> base_type;
59 } // namespace deprecated
62 #ifdef BOOST_HAS_ABI_HEADERS
63 # include BOOST_ABI_SUFFIX