Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template utf8_view

boost::parser::utf8_view

Synopsis

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

template<unspecified V> 
class utf8_view {
public:

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

Description

A view that produces UTF-8 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.

utf8_view public member functions

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

PrevUpHomeNext