[#boost-urls-grammar-lut_chars-2constructor] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::xref:boost/urls/grammar/lut_chars.adoc[lut_chars]::lut_chars :relfileprefix: ../../../../ :mrdocs: Constructor == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/lut_chars.hpp#L157[boost/url/grammar/lut_chars.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:boost/urls/grammar/lut_chars/2constructor-079.adoc[lut_chars](char ch) noexcept; ---- [.small]#xref:boost/urls/grammar/lut_chars/2constructor-079.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:boost/urls/grammar/lut_chars/2constructor-074.adoc[lut_chars](char const* s) noexcept; ---- [.small]#xref:boost/urls/grammar/lut_chars/2constructor-074.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class Pred> requires detail::is_pred<Pred>::value && ! std::is_base_of< lut_chars, Pred>::value constexpr xref:boost/urls/grammar/lut_chars/2constructor-02.adoc[lut_chars](Pred const& pred) noexcept; ---- [.small]#xref:boost/urls/grammar/lut_chars/2constructor-02.adoc[_» more..._]# == Description This function constructs a character set which has as a single member, the character `ch`. === Example [,cpp] ---- constexpr lut_chars asterisk( '*' ); ---- === Complexity Constant. === Exception Safety Throws nothing. == Parameters |=== | Name | Description | *ch* | A character. | *s* | A null‐terminated string. | *pred* | The function object to use for determining membership in the character set. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#