Favourite class in the standard?

May 25, 2012 at 8:02pm
What would your favourite class anywhere in the C++ standard be?

Mine's probably stringstream, as I just learned about that and am finding it quite useful.
May 25, 2012 at 9:35pm
std::string probably :)
May 25, 2012 at 9:39pm
My favorite is std::valarray -- expression templates made easy!
May 25, 2012 at 9:39pm
I like std::vector.
May 25, 2012 at 9:48pm
std::vector
May 25, 2012 at 10:13pm
closed account (zb0S216C)
std::exception (seriously).

To be fair, I rarely use the standard classes.

Wazzak
Last edited on May 25, 2012 at 10:17pm
May 25, 2012 at 10:20pm
If you're like I am, you abuse std::vector to read binary files.
Whereas we should have been provided memory mapped file libraries, a long time ago.
May 25, 2012 at 11:59pm
Boost has portable memory mapped file I/Ô, so there is a chance.
May 26, 2012 at 12:30am
closed account (3hM2Nwbp)
shared_ptr
Topic archived. No new replies allowed.