This stream counts all characters and lines going through it.
Direct Base Classes: CountingIOS, std::ostream
All Base Classes: CountingIOS, std::ios, std::ostream
Creates an unconnected CountingOutputStream.
std::ostream & ostr
Creates the CountingOutputStream and connects it to the given input stream.
Destroys the CountingOutputStream.