...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Constructor.
constexpr lut_chars( char const* s);
This function constructs a character set which has as members, all of
the characters present in the null-terminated string s
.
constexpr lut_chars digits = "0123456789" ;
Linear in strlen(s)
,
or constant if s
is a
constant expression.
Throws nothing.
Name |
Description |
---|---|
|
A null-terminated string. |