O'Reilly logo

Extended STL, Volume 1: Collections and Iterators by Matthew Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required