mrdocs::splitLines

Split any contiguous character range into lines.

Synopsis

template<std::ranges::contiguous_range R>
requires std::same_as<std::remove_cv_t<std::ranges::range_value_t<R>>, char>
constexpr
auto
splitLines(R&& r);

This function is defined as an Algorithm Function Object (AFO).

Return Value

View over the lines in the range.

Parameters

Name

Description

r

Range of characters.

Created with MrDocs