Iterator over lines produced by SplitLinesView.

Synopsis

Declared in <mrdocs/Support/String/SplitLines.hpp>

struct Iterator;

Type Aliases

Name

Description

difference_type

Signed distance type for the iterator.

value_type

Line view type exposed by the iterator.

Member Functions

Name

Description

Iterator [constructor]

Constructors

findBreak

Compute the next line break position.

operator*

Return the current line segment.

operator++

Increment operators

Data Members

Name

Description

atEnd

Flag indicating the end iterator.

cur

Start of the current line.

nextBreak

Index of the next break delimiter or npos.

sv

Reference to the source string.

Friends

Name

Description

mrdocs::operator==

Equality operator

Created with MrDocs