PrevUpHomeNext

Concept BoundaryChecker

BoundaryChecker

Description

A BoundaryChecker is a function object that tells whether a position within a range constitutes a boundary.

Associated types

  • input_type

    BoundaryChecker::input_type

    The type of elements the boundary checker analyzes.

Notation

BoundaryChecker
A type playing the role of model of BoundaryChecker in the BoundaryChecker concept.
In
A type playing the role of model of Bidirectional Iterator with elements convertible to input_type in the BoundaryChecker concept.
b
Object of type BoundaryChecker
begin, end, pos
Objects of type In

Valid expressions

Name Expression Type Precondition Semantics

Construction

BoundaryChecker()

BoundaryChecker

 

Construct an instance of the type with default parameters.

Function Object Call

b(begin, end, pos)

bool

begin != end && pos != begin && pos != end

Returns whether pos is a boundary within the [begin, end[ range.

Models

  • boost::unicode::u8_boundary, boost::unicode::u16_boundary, boost::unicode::grapheme_boundary

PrevUpHomeNext