12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- #ifndef BOOST_URL_GRAMMAR_ALL_CHARS_HPP
- #define BOOST_URL_GRAMMAR_ALL_CHARS_HPP
- #include <boost/url/detail/config.hpp>
- #include <boost/url/grammar/detail/charset.hpp>
- namespace boost {
- namespace urls {
- namespace grammar {
- #ifdef BOOST_URL_DOCS
- constexpr __implementation_defined__ all_chars;
- #else
- struct all_chars_t
- {
- constexpr
- all_chars_t() noexcept = default;
- constexpr
- bool
- operator()(char) const noexcept
- {
- return true;
- }
- #ifdef BOOST_URL_USE_SSE2
- char const*
- find_if(
- char const* first,
- char const* last) const noexcept
- {
- return detail::find_if_pred(
- *this, first, last);
- }
- char const*
- find_if_not(
- char const* first,
- char const* last) const noexcept
- {
- return detail::find_if_not_pred(
- *this, first, last);
- }
- #endif
- };
- constexpr all_chars_t all_chars{};
- #endif
- }
- }
- }
- #endif
|