An incomplete implementation of C++17's std::string_view
. Not intented for public use, but feel free to take a look.
The class template
basic_string_view
describes an object that can refer to a constant contiguous sequence of char-like objects with the first element of the sequence at position zero.
template<class charT, class traits = char_traits<charT>>
class basic_string_view;
Alias | Type |
---|---|
string_view |
basic_string_view<char> |
u16string_view |
basic_string_view<char16_t> |
u32string_view |
basic_string_view<char32_t> |
wstring_view |
basic_string_view<wchar_t> |