:relfileprefix: ../../../../
[#boost-urls-grammar-lut_chars-2constructor-079]

= xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/grammar.adoc[pass:[grammar]]::xref:boost/urls/grammar/lut_chars.adoc[pass:[lut_chars]]::lut_chars


Constructor


== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/lut_chars.hpp#L157[boost/url/grammar/lut_chars.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
lut_chars(char ch) noexcept;
----

== 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.

|===




