Is there an existing facility to iterate over lines of an std::string_view
such that the lines returned are also std::string_view
, and thus no copies are made from the source.
In sudo code:
std::string_view GetNextLine(StringViewStream svs) {
return GetLine(svs);
}