// // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/boostorg/url // #ifndef BOOST_URL_RFC_DETAIL_IPVFUTURE_RULE_HPP #define BOOST_URL_RFC_DETAIL_IPVFUTURE_RULE_HPP #include #include namespace boost { namespace urls { namespace detail { /** Rule for IPvFuture @par BNF @code IPvFuture = "v" 1*HEXDIG "." 1*( unreserved / sub-delims / ":" ) @endcode @par Specification @li 3.2.2. Host (rfc3986) */ struct ipvfuture_rule_t { struct value_type { string_view str; string_view major; string_view minor; }; auto parse( char const*& it, char const* const end ) const noexcept -> result; }; constexpr ipvfuture_rule_t ipvfuture_rule{}; } // detail } // urls } // boost #endif