This stream counts all characters and lines going through it. This is useful for lexers and parsers that need to determine the current position in the stream.
Direct Base Classes: CountingIOS, std::istream
All Base Classes: CountingIOS, std::ios, std::istream
std::istream & istr
Creates the CountingInputStream and connects it to the given input stream.
Destroys the stream.