]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/regex/v5/char_regex_traits.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / regex / v5 / char_regex_traits.hpp
1 /*
2 *
3 * Copyright (c) 2002
4 * John Maddock
5 *
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)
9 *
10 */
11
12 /*
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<>.
17 */
18
19
20 #ifndef BOOST_REGEX_V5_CHAR_REGEX_TRAITS_HPP
21 #define BOOST_REGEX_V5_CHAR_REGEX_TRAITS_HPP
22
23 namespace boost{
24
25 namespace deprecated{
26 //
27 // class char_regex_traits_i
28 // provides case insensitive traits classes (deprecated):
29 template <class charT>
30 class char_regex_traits_i : public regex_traits<charT> {};
31
32 template<>
33 class char_regex_traits_i<char> : public regex_traits<char>
34 {
35 public:
36 typedef char char_type;
37 typedef unsigned char uchar_type;
38 typedef unsigned int size_type;
39 typedef regex_traits<char> base_type;
40
41 };
42
43 #ifndef BOOST_NO_WREGEX
44 template<>
45 class char_regex_traits_i<wchar_t> : public regex_traits<wchar_t>
46 {
47 public:
48 typedef wchar_t char_type;
49 typedef unsigned short uchar_type;
50 typedef unsigned int size_type;
51 typedef regex_traits<wchar_t> base_type;
52
53 };
54 #endif
55 } // namespace deprecated
56 } // namespace boost
57
58 #endif // include
59