PrevUpHomeNext

Struct template line_break_view

boost::text::line_break_view

Synopsis

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

template<typename CPIter, typename CPSentinel, 
         typename Subrange = line_break_cp_view<CPIter> > 
struct line_break_view : public stl_interfaces::view_interface< line_break_view< CPIter, CPSentinel, line_break_cp_view< CPIter > > >
{
  // types
  typedef unspecified iterator;
  typedef unspecified sentinel;

  // construct/copy/destruct
  line_break_view();
  line_break_view(CPIter, CPSentinel);

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

Description

Represents a bidirectionally-iterable view of non-overlapping code point subranges. Each subrange represents the code points between one allowed line break and the next. Each subrange is lazily produced; an output subrange is not produced until an iterator is dereferenced. Each element has a member function bool hard_break() that indicates whether the end of the subrange is at a hard line break, or just an allowed line break location.

line_break_view public construct/copy/destruct

  1. line_break_view();
  2. line_break_view(CPIter first, CPSentinel last);

line_break_view public member functions

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

PrevUpHomeNext