[#boost-urls-grammar-ref-01] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::ref :relfileprefix: ../../../ :mrdocs: `ref` overloads == Synopses Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/charset.hpp#L255[boost/url/grammar/charset.hpp]>` Return a reference to a character set [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<xref:boost/urls/grammar/CharSet.adoc[CharSet] CS> constexpr /* implementation-defined */ xref:boost/urls/grammar/ref-02.adoc[ref](CS const& cs) noexcept requires is_charset<CS>::value && ! std::is_same<CS, implementation_defined::charset_ref<CS> >::value; ---- [.small]#xref:boost/urls/grammar/ref-02.adoc[_» more..._]# Return a reference to a rule [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<xref:boost/urls/grammar/Rule.adoc[Rule] R> constexpr /* implementation-defined */ xref:boost/urls/grammar/ref-0e.adoc[ref](R const& r) noexcept requires is_rule<R>::value && ! std::is_same<R, implementation_defined::rule_ref<R> >::value; ---- [.small]#xref:boost/urls/grammar/ref-0e.adoc[_» more..._]# == Return Value * The character set as a reference type * The rule as a reference type == Template Parameters [cols=2] |=== | Name | Description | *CharSet* | The character set type |=== == Parameters [cols=2] |=== | Name | Description | *cs* | The character set to use | *r* | The rule to use |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#