Iterator that iterates through stdin lines. More...
Inherits iterator< std::input_iterator_tag, std::basic_string< CharT, Traits > >.
Public Member Functions | |
| line_iterator (std::basic_istream< CharT, Traits > &out) noexcept | |
| auto | operator++ () noexcept-> decltype(*this) |
| line_iterator | operator++ (int) noexcept |
| auto | operator* () noexcept-> decltype(value) |
| auto | operator-> () noexcept-> decltype(&value) |
| bool | operator== (const line_iterator &other) const noexcept |
| bool | operator!= (const line_iterator &other) const noexcept |
An iterator that iterates through lines given by stdin such as std::cin, std::ifstream, and std::istringstream. This iterator is basically a wrapper around std::getline and std::istream. This should not be used directly.
| CharT | Underlying character type of the string. |
| Traits | Underlying std::char_traits-like of the string. |