PrevUpHomeNext

Struct template utf32_view

boost::text::utf32_view

Synopsis

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

template<utf32_iter I, std::sentinel_for< I > S = I> 
struct utf32_view :
  public stl_interfaces::view_interface< utf32_view< I, I > >
{
  // types
  typedef I iterator;
  typedef S sentinel;

  // construct/copy/destruct
  utf32_view();
  utf32_view(iterator, sentinel);

  // public member functions
  constexpr iterator begin() const;
  constexpr sentinel end() const;

  // friend functions
  std::ostream & operator<<(std::ostream &, utf32_view);
  std::wostream & operator<<(std::wostream &, utf32_view);
};

Description

A view over UTF-32 code units.

utf32_view public construct/copy/destruct

  1. utf32_view();
  2. utf32_view(iterator first, sentinel last);

utf32_view public member functions

  1. constexpr iterator begin() const;
  2. constexpr sentinel end() const;

utf32_view friend functions

  1. std::ostream & operator<<(std::ostream & os, utf32_view v);

    Stream inserter; performs unformatted output, in UTF-8 encoding.

  2. std::wostream & operator<<(std::wostream & os, utf32_view v);

    Stream inserter; performs unformatted output, in UTF-16 encoding. Defined on Windows only.


PrevUpHomeNext