carb::cpp::operator""_sv
Defined in carb/cpp/StringView.h
-
constexpr string_view carb::cpp::operator""_sv(const char *str, std::size_t len) noexcept
Creates a string view of a character array literal.
Note
The literal suffix operator
sv
is reserved by C++, so this is_sv
.- Parameters
str – Pointer to the beginning of the raw character array literal.
len – Length of the raw character array literal.
- Returns
The basic_string_view literal.