"The (B)Leading Edge"
More STL Gotcha's
ŠThe C++ Report (May 1997)

This column addresses some more concerns with the STL. First, I respond to a reader who pointed out that my previous column overlooked mentioning the fact that the Standard C++ library version of the STL has different headers to include than what most people are use to using. I devote several paragraphs to discussing this and the fact that all of the STL in the Standard C++ library is in namespace std. The rest of the column discusses a problem I found in certain STL algorithm implementations: namely the post-incrementing of iterators. When using iterators that are of class type, this introduces a lot of unnecessary overhead.