boost::urls::grammar::ref

ref 重载

概要

返回对字符集的引用

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;

返回对规则的引用

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;

返回值

  • 作为引用类型的字符集

  • 作为引用类型的规则

模板参数

名称

描述

CharSet

字符集类型

参数

名称

描述

cs

要使用的字符集

r

要使用的规则

使用 MrDocs 创建