Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:53:29

0001 //
0002 // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 // Official repository: https://github.com/boostorg/url
0008 //
0009 
0010 #ifndef BOOST_URL_RFC_RESERVED_CHARS_HPP
0011 #define BOOST_URL_RFC_RESERVED_CHARS_HPP
0012 
0013 #include <boost/url/detail/config.hpp>
0014 #include <boost/url/rfc/unreserved_chars.hpp>
0015 
0016 namespace boost {
0017 namespace urls {
0018 
0019 /** The reserved character set
0020 
0021     @par Example
0022     Character sets are used with rules and
0023     the functions @ref grammar::find_if and
0024     @ref grammar::find_if_not.
0025     @code
0026     system::result< decode_view > rv = grammar::parse( "Program%20Files", pct_encoded_rule( reserved_chars ) );
0027     @endcode
0028 
0029     @par Specification
0030     @li <a href="https://datatracker.ietf.org/doc/html/rfc3986#section-2.3"
0031         >2.3. Unreserved Characters (rfc3986)</a>
0032 
0033     @see
0034         @ref grammar::find_if,
0035         @ref grammar::find_if_not,
0036         @ref grammar::parse,
0037         @ref pct_encoded_rule.
0038 */
0039 constexpr auto reserved_chars = ~unreserved_chars;
0040 
0041 } // urls
0042 } // boost
0043 
0044 #endif