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

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
xref:boost/urls/grammar/lut_chars/2constructor-079.adoc[pass:[lut_chars]](char ch) noexcept;
----

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
xref:boost/urls/grammar/lut_chars/2constructor-074.adoc[pass:[lut_chars]](char const* s) noexcept;
----

[source,cpp,subs="verbatim,macros,-callouts"]
----
template<
    class Pred,
    class = void>
constexpr
xref:boost/urls/grammar/lut_chars/2constructor-02.adoc[pass:[lut_chars]](Pred const& pred) noexcept;
----
  
=== Description


This function constructs a character
set which has as a single member,
the character `ch`.
[,cpp]
----
constexpr lut_chars asterisk( '*' );
----

=== Constant.

=== Throws nothing.




=== Parameters

|===
| Name | Description 

| *ch*
| 
A character.

| *s*
| 
A null-terminated string.

|===




