Chapter 38. Member Selector Iterator
The only country in the world where being “too clever by half” is an insult. | ||
--A. A. Gill, on England |
If you want the rainbow, you’ve got to put up with the rain. | ||
--Dolly Parton |
Introduction
Throughout most of the rest of the book, compiler specifics are eschewed (and banished to the CD), and a utopian view of compiler and standard library facilities is presented. This chapter is different. We will see time after time how strange and subtle bugs, “features,” and implementation-defined behavior stymie our attempts to create what is, in essence, a very simple component. Along the way we’ll highlight issues of const
-ness, compare performance of algorithm use with iterator adaptors against use with custom functions, ...
Get Extended STL, Volume 1: Collections and Iterators now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.