123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- #ifndef BOOST_URL_RFC_IPV4_ADDRESS_RULE_HPP
- #define BOOST_URL_RFC_IPV4_ADDRESS_RULE_HPP
- #include <boost/url/detail/config.hpp>
- #include <boost/url/ipv4_address.hpp>
- #include <boost/url/error_types.hpp>
- namespace boost {
- namespace urls {
- #ifdef BOOST_URL_DOCS
- constexpr __implementation_defined__ ipv4_address_rule;
- #else
- struct ipv4_address_rule_t
- {
- using value_type =
- ipv4_address;
- BOOST_URL_DECL
- auto
- parse(
- char const*& it,
- char const* end
- ) const noexcept ->
- system::result<ipv4_address>;
- };
- constexpr ipv4_address_rule_t ipv4_address_rule{};
- #endif
- }
- }
- #endif
|