conststr 0.2.1
|
Define string literal suffix. More...
Functions | |
consteval auto | operator""_cs (char ch) |
User-defined string literal with suffix _cs . More... | |
consteval auto | operator""_cs (char8_t ch) |
User-defined string literal with suffix _cs . More... | |
consteval auto | operator""_cs (char16_t ch) |
User-defined string literal with suffix _cs . More... | |
consteval auto | operator""_cs (char32_t ch) |
User-defined string literal with suffix _cs . More... | |
consteval auto | operator""_cs (wchar_t ch) |
User-defined string literal with suffix _cs . More... | |
template<cstr str> | |
consteval auto | operator""_cs () |
User-defined string literal with suffix _cs . More... | |
Define string literal suffix.
consteval auto conststr::literal::operator""_cs | ( | ) |
User-defined string literal with suffix _cs
.
Simply using
this namespace to create cstr
through "blabla"_cs
.
consteval auto conststr::literal::operator""_cs | ( | char | ch | ) |
User-defined string literal with suffix _cs
.
Simply using
this namespace to create cstr
through ‘'a’_cs`.
consteval auto conststr::literal::operator""_cs | ( | char16_t | ch | ) |
User-defined string literal with suffix _cs
.
Simply using
this namespace to create cstr
through ‘u'a’_cs`.
consteval auto conststr::literal::operator""_cs | ( | char32_t | ch | ) |
User-defined string literal with suffix _cs
.
Simply using
this namespace to create cstr
through ‘U'a’_cs`.
consteval auto conststr::literal::operator""_cs | ( | char8_t | ch | ) |
User-defined string literal with suffix _cs
.
Simply using
this namespace to create cstr
through ‘u8'a’_cs`.
consteval auto conststr::literal::operator""_cs | ( | wchar_t | ch | ) |
User-defined string literal with suffix _cs
.
Simply using
this namespace to create cstr
through ‘L'a’_cs`.