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