Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template utf16_view

boost::parser::utf16_view

Synopsis

// In header: <boost/parser/transcode_view.hpp>

template<unspecified V> 
class utf16_view {
public:

  // public member functions
  utf16_view() = default;
  utf16_view(V);
};

Description

A view that produces UTF-16 from an given sequence of UTF.

Template Parameters

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

utf16_view public member functions

  1. utf16_view() = default;
  2. utf16_view(V base);

PrevUpHomeNext