[#boost-urls-reserved_chars]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::reserved&lowbar;chars
:relfileprefix: ../../
:mrdocs:

The reserved character set

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/rfc/reserved_chars.hpp#Lundefined[boost&sol;url&sol;rfc&sol;reserved&lowbar;chars&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr auto reserved&lowbar;chars = &#126;unreserved&lowbar;chars;
----

== Example

Character sets are used with rules and the functions xref:boost/urls/grammar/find_if.adoc[`grammar&colon;&colon;find&lowbar;if`] and xref:boost/urls/grammar/find_if_not.adoc[`grammar&colon;&colon;find&lowbar;if&lowbar;not`]&period;

[,cpp]
----
system::result< decode_view > rv = grammar::parse( "Program%20Files", pct_encoded_rule( reserved_chars ) );
----
== Specification

* https://datatracker.ietf.org/doc/html/rfc3986#section-2.3[2&period;3&period; Unreserved Characters (rfc3986)]

== See Also

xref:boost/urls/grammar/find_if.adoc[`grammar&colon;&colon;find&lowbar;if`], xref:boost/urls/grammar/find_if_not.adoc[`grammar&colon;&colon;find&lowbar;if&lowbar;not`], xref:boost/urls/grammar/parse-09.adoc[`grammar&colon;&colon;parse`], xref:boost/urls/pct_encoded_rule.adoc[`pct&lowbar;encoded&lowbar;rule`]&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
