boost::text::utf16_view
// In header: <boost/text/transcode_view.hpp> template<utf16_iter I, std::sentinel_for< I > S = I> struct utf16_view : public stl_interfaces::view_interface< utf16_view< I, I > > { // types typedef I iterator; typedef S sentinel; // construct/copy/destruct utf16_view(); utf16_view(iterator, sentinel); // public member functions constexpr iterator begin() const; constexpr sentinel end() const; // friend functions std::ostream & operator<<(std::ostream &, utf16_view); std::wostream & operator<<(std::wostream &, utf16_view); };
A view over UTF-16 code units.
utf16_view
friend functionsstd::ostream & operator<<(std::ostream & os, utf16_view v);
Stream inserter; performs unformatted output, in UTF-8 encoding.
std::wostream & operator<<(std::wostream & os, utf16_view v);
Stream inserter; performs unformatted output, in UTF-16 encoding. Defined on Windows only.