boost::parser::utf16_view
// In header: <boost/parser/transcode_view.hpp> template<unspecified V> class utf16_view { public: // public member functions utf16_view() = default; utf16_view(V); };
A view that produces UTF-16 from an given sequence of UTF.
unspecified V
Constrained by std::ranges::view<V>. Additionally, the value type of V must be char, wchar_t, char8_t, char16_t, or char32_t.
std::ranges::view<V>
V
char
wchar_t
char8_t
char16_t
char32_t
utf16_view
utf16_view() = default;
utf16_view(V base);