Mr.Docs The C++ Alliance GitHub Repo
  • Mr.Docs
  • Reference
  • mrdocs
  • splitLines-0a
master develop 2026.9.4 v0.8.0
Mr.Docs The C++ Alliance GitHub Repo

Mr.Docs

    • Home
    • Demos
    • Installation
    • Getting Started
    • The Configuration File
    • Documenting the Code
    • Generators
    • Design Notes
    • Library Reference
    • Contributor’s Guide
    • License

mrdocs::splitLines

Split a string view into lines, recognizing all common line breaks

Synopsis

Declared in <mrdocs/Support/SplitLines.hpp>

constexpr
auto
splitLines(std::string_view sv);

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

Description

This is a convenience function for creating a SplitLinesView.

Created with MrDocs