boost::urls::grammar::lut_chars::lut_chars

Constructor

Synopsis

constexpr
lut_chars(char const* s) noexcept;
cpp

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";
cpp

Complexity

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

Exception Safety

Throws nothing.

Parameters

Name

Description

s

A null‐terminated string.

Created with MrDocs