File indexing completed on 2025-01-18 09:53:28
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_URL_RFC_DETAIL_H16_RULE_HPP
0011 #define BOOST_URL_RFC_DETAIL_H16_RULE_HPP
0012
0013 #include <boost/url/detail/config.hpp>
0014 #include <boost/url/error_types.hpp>
0015 #include <cstdint>
0016
0017 namespace boost {
0018 namespace urls {
0019 namespace detail {
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036 struct h16_rule_t
0037 {
0038 struct value_type
0039 {
0040 std::uint8_t hi;
0041 std::uint8_t lo;
0042 };
0043
0044 auto
0045 parse(
0046 char const*& it,
0047 char const* end
0048 ) const noexcept ->
0049 system::result<value_type>;
0050 };
0051
0052 constexpr h16_rule_t h16_rule{};
0053
0054 }
0055 }
0056 }
0057
0058 #endif