August 2004
Intermediate to advanced
352 pages
7h 38m
English
One of C++'s most powerful features is its support for generic programming. This power is reflected directly in the flexibility of the C++ standard library, especially in its containers, iterators, and algorithms portion, originally known as the standard template library (STL).
Like More Exceptional C++ [Sutter02], this book opens with Items that focus our attention on some familiar parts of the STL, notably vector and string, as well as on some that might be less familiar. How can you avoid common gotchas when using the standard library's most basic container, vector ? How would you perform common C-style string manipulation in C++? What lessons, good and bad and down-right ugly, can we learn ...