PrevUpHomeNext

Struct template stream_safe_view

boost::text::stream_safe_view

Synopsis

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

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

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

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

Description

A view that adapts a non-stream safe sequence of code points to a stream-safe sequence of code points.

See Also:

https://unicode.org/reports/tr15/#Stream_Safe_Text_Format

stream_safe_view public construct/copy/destruct

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

stream_safe_view public member functions

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

PrevUpHomeNext