Summary

In this chapter, we learned the use of miscellaneous functions from the Boost String Algorithms library for performing various operations on string data types. We then looked at the generic Boost String Tokenizer framework that provides an efficient and extensible way to tokenize strings based on criteria that the user can define. We finally looked at regular expressions, and the Boost.Regex library that provides the ability to match character data against regular expressions, search for patterns, tokenize, and replace patterns using regular expressions.

This chapter should have given you a broad perspective of basic text handling facilities available from the Boost libraries. Along the way, we also picked up some useful techniques from ...

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.