Chapter 4. Working with Strings

Text data is the most important and pervasive form of data that modern applications deal with. The ability to process text data efficiently through intuitive abstractions is a key marker of effectiveness in dealing with text data. Boost has a number of libraries dedicated toward effective text processing that enhance and extend the capabilities provided by the C++ Standard Library.

In this chapter, we will look at three key Boost libraries for processing text data. We will start with the Boost String Algorithms library, a library of general-purpose algorithms for text data that provides a host of easy text operations, often missed in the Standard Library. We will then look at the Boost Tokenizer library, an extensible ...

Get Learning Boost C++ Libraries 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.