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 |
---|---|
s | A null-terminated string. |