Constructor

Synopsis

Declared in header </boost/url/grammar/lut_chars.hpp#L188[boost/url/grammar/lut_chars.hpp,window=blank_]>

constexpr
lut_chars(const char* s) noexcept;

Description

This function constructs a character set which has as members, all of the characters present in the null-terminated string s.

Example

constexpr lut_chars digits = "0123456789";

Complexity

Linear in ::strlen(s), or constant if s is a constant expression.

Exception Safety

Throws nothing.

Return Value

  • void

Parameters

Name Type

s

``