mrdocs::SplitLinesView

A lazy input range of std::string_view lines split on all known line breaks.

Synopsis

struct SplitLinesView
    : std::ranges::view_interface<SplitLinesView>

Base Classes

Name

Description

std::ranges::view_interface<SplitLinesView>

Types

Name

Description

Iterator

Iterator over lines produced by SplitLinesView.

Member Functions

Name

Description

SplitLinesView [constructor]

Constructors

back

begin

Return an iterator to the first line.

cbegin

cend

data

empty

end

Return the end sentinel for the view.

front

operator[]

Subscript operators

size

operator bool

Conversion operators

Data Members

Name

Description

sv_

Underlying string to split.

Created with MrDocs