Closed tcbrindle closed 1 year ago
Base: 96.92% // Head: 96.91% // Decreases project coverage by -0.00%
:warning:
Coverage data is based on head (
03d4d33
) compared to base (c014f0f
). Patch coverage: 95.23% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Similar to range-v3, wraps std::getline() in the sequence protocol. Internally re-uses a std::string for each call to getline() to avoid allocations.
The element type of the sequence is std::string const&. Of all the options (prvalue string, string_view, non-const string& etc) it's the best default, as it allows users to make the choice of whether they want to take a copy of the buffer or not, but without many of the lifetime problems of string_view.