boost::urls::grammar::ref

ref overloads

Synopses

Declared in <boost/url/grammar/charset.hpp>

Return a reference to a character set

template<CharSet CS>
constexpr
/* implementation-defined */
ref(CS const& cs) noexcept
requires is_charset<CS>::value &&
    ! std::is_same<CS,
        implementation_defined::charset_ref<CS> >::value;
» more...

Return a reference to a rule

template<Rule R>
constexpr
/* implementation-defined */
ref(R const& r) noexcept
requires is_rule<R>::value &&
    ! std::is_same<R,
        implementation_defined::rule_ref<R> >::value;
» more...

Return Value

  • The character set as a reference type
  • The rule as a reference type

Template Parameters

NameDescription
CharSetThe character set type

Parameters

NameDescription
csThe character set to use
rThe rule to use