PrevUpHomeNext

Struct template bidirectional_cp_subrange

boost::text::bidirectional_cp_subrange

Synopsis

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

template<typename CPIter> 
struct bidirectional_cp_subrange {
  // types
  typedef unspecified iterator;

  // construct/copy/destruct
  bidirectional_cp_subrange();
  bidirectional_cp_subrange(iterator, iterator, unspecified = unspecified);

  // public member functions
  bool line_break() const;
  bool hard_break() const;
  bool allowed_break() const;
};

Description

Represents a subrange of code points ordered by the Unicode bidirectional algorithm, with or without a line break at the end; the line break may be a hard line break, or an allowed line break, according to the Unicode line break algorithm. This is the output type for the code point overloads of bidirectional_subranges().

bidirectional_cp_subrange public construct/copy/destruct

  1. bidirectional_cp_subrange();
  2. bidirectional_cp_subrange(iterator first, iterator last, 
                              unspecified b = unspecified);

bidirectional_cp_subrange public member functions

  1. bool line_break() const;

    Returns true if this subrange ends with some kind of line break.

  2. bool hard_break() const;

    Returns true if this subrange ends with a hard line break.

  3. bool allowed_break() const;

    Returns true if this subrange ends with an allowed line break.


PrevUpHomeNext