Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Boost 1.57.0 Library Documentation - String and text processing

By Category

String and text processing

  • Format: The format library provides a class for formatting arguments according to a format-string, as does printf, but with two major differences: format sends the arguments to an internal stream, and so is entirely type-safe and naturally supports all user-defined types; the ellipsis (...) can not be used correctly in the strongly typed context of format, and thus the function call with arbitrary arguments is replaced by successive calls to an argument feeding operator%.
  • Iostreams: Boost.IOStreams provides a framework for defining streams, stream buffers and i/o filters.
  • Lexical Cast: General literal text conversions, such as an int represented a string, or vice-versa.
  • Locale: Provide localization and Unicode handling tools for C++.
  • Regex: Regular expression library.
  • Spirit: LL parser framework represents parsers directly as EBNF grammars in inlined C++.
  • String Algo: String algorithms library.
  • Tokenizer: Break of a string or other character sequence into a series of tokens.
  • Wave: The Boost.Wave library is a Standards conformant, and highly configurable implementation of the mandated C99/C++ preprocessor functionality packed behind an easy to use iterator interface.
  • Xpressive: Regular expressions that can be written as strings or as expression templates, and which can refer to each other and themselves recursively with the power of context-free grammars.

Iterators

  • Tokenizer: Break of a string or other character sequence into a series of tokens.

Algorithms

Input/Output

  • Format: The format library provides a class for formatting arguments according to a format-string, as does printf, but with two major differences: format sends the arguments to an internal stream, and so is entirely type-safe and naturally supports all user-defined types; the ellipsis (...) can not be used correctly in the strongly typed context of format, and thus the function call with arbitrary arguments is replaced by successive calls to an argument feeding operator%.
  • Iostreams: Boost.IOStreams provides a framework for defining streams, stream buffers and i/o filters.

Parsing

  • Spirit: LL parser framework represents parsers directly as EBNF grammars in inlined C++.

Miscellaneous

  • Lexical Cast: General literal text conversions, such as an int represented a string, or vice-versa.