Hidden Features and Dark Corners of STL?
Posted
by Andrei
on Stack Overflow
See other posts from Stack Overflow
or by Andrei
Published on 2009-10-20T17:29:26Z
Indexed on
2010/04/03
18:03 UTC
Read the original article
Hit count: 290
C++ developers, all know the basics of C++: Declarations, conditionals, loops, operators, etc.
Some of us even mastered the stuff like templates, object model, complex I/O, etc.
But what are the most hidden features or tricks or dark corners of C++/STL that even C++ fans, addicts, and experts barely know?
I am talking about a seasoned C++ programmer (be she/he a developer, student, fan, all three, etc), who thinks (s)he knows something 99% of us never heard or dreamed about. Something that not only makes his/her work easier, but also cool and hackish. After all, C++ is one of the most used programming languages in the world, thus it should have intricacies that only a few privileged know about and want to share with us.
Boost is welcome too!
One per post with an example please
P.S Examples are important for other developers to copy and paste!
© Stack Overflow or respective owner