Warning, file /include/boost/url/grammar/alnum_chars.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_URL_GRAMMAR_ALNUM_CHARS_HPP
0011 #define BOOST_URL_GRAMMAR_ALNUM_CHARS_HPP
0012
0013 #include <boost/url/detail/config.hpp>
0014 #include <boost/url/grammar/detail/charset.hpp>
0015
0016 namespace boost {
0017 namespace urls {
0018 namespace grammar {
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050 #ifdef BOOST_URL_DOCS
0051 constexpr __implementation_defined__ alnum_chars;
0052 #else
0053 namespace implementation_defined {
0054 struct alnum_chars_t
0055 {
0056 constexpr
0057 bool
0058 operator()(char c) const noexcept
0059 {
0060 return
0061 (c >= '0' && c <= '9') ||
0062 (c >= 'A' && c <= 'Z') ||
0063 (c >= 'a' && c <= 'z');
0064 }
0065
0066 #ifdef BOOST_URL_USE_SSE2
0067 char const*
0068 find_if(
0069 char const* first,
0070 char const* last) const noexcept
0071 {
0072 return detail::find_if_pred(
0073 *this, first, last);
0074 }
0075
0076 char const*
0077 find_if_not(
0078 char const* first,
0079 char const* last) const noexcept
0080 {
0081 return detail::find_if_not_pred(
0082 *this, first, last);
0083 }
0084 #endif
0085 };
0086 }
0087
0088
0089
0090
0091
0092
0093
0094
0095
0096
0097
0098
0099
0100
0101
0102
0103
0104
0105
0106
0107
0108
0109
0110
0111
0112
0113
0114
0115
0116
0117
0118 constexpr implementation_defined::alnum_chars_t alnum_chars{};
0119 #endif
0120
0121 }
0122 }
0123 }
0124
0125 #endif