File indexing completed on 2026-08-12 09:07:48
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_URL_GRAMMAR_VCHARS_HPP
0011 #define BOOST_URL_GRAMMAR_VCHARS_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 namespace implementation_defined {
0020 struct vchars_t
0021 {
0022 constexpr
0023 bool
0024 operator()(char c) const noexcept
0025 {
0026 return c >= 0x21 && c <= 0x7e;
0027 }
0028
0029 #ifdef BOOST_URL_USE_SSE2
0030 char const*
0031 find_if(
0032 char const* first,
0033 char const* last) const noexcept
0034 {
0035 return detail::find_if_pred(
0036 *this, first, last);
0037 }
0038
0039 char const*
0040 find_if_not(
0041 char const* first,
0042 char const* last) const noexcept
0043 {
0044 return detail::find_if_not_pred(
0045 *this, first, last);
0046 }
0047 #endif
0048 };
0049 }
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069
0070
0071
0072
0073
0074
0075
0076 constexpr implementation_defined::vchars_t vchars{};
0077
0078 }
0079 }
0080 }
0081
0082 #endif