Chapter 27. String Tokenization

 

How vain it is to sit down and write when you have not stood up to live.

 
 --Henry David Thoreau
 

Racing doesn’t get any easier; you just get faster.

 
 --Greg Lemond

Introduction

By now you’re used to my writing style and may be expecting a sequence of expository steps describing the evolution of a collection component into a beautifully crafted class that handles all possible cases with aplomb. If so, you’re in for somewhat of a disappointment in this chapter. What you’ll actually get here is a story of how the effects of complexity, efficiency, flexibility, and several hundred refactoring steps conspire to yield a class that’s really flexible and very fast but that grossly violates Henney’s Hypothesis (Chapter 14 ...

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.