carb::cpp::operator""_sv

Defined in carb/cpp/StringView.h

constexpr u16string_view carb::cpp::operator""_sv(const char16_t *str, std::size_t len) noexcept

Creates a string view of a character array literal. noexcept

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. noexcept