...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
The whole library is provided in headers. Regex variants of some algorithms,
however, are dependent on the Boost.Regex library. All such algorithms are
If this header is used, the application must be linked with the Boost.Regex
Examples showing the basic usage of the library can be found in the libs/algorithm/string/example directory. There is a separate file for the each part of the library. Please follow the boost build guidelines to build examples using the bjam. To successfully build regex examples the Boost.Regex library is required.
A full set of test cases for the library is located in the libs/algorithm/string/test directory. The test cases can be executed using the boost build system. For the tests of regular expression variants of algorithms, the Boost.Regex library is required.
The library has been successfully compiled and tested with the following compilers:
See Boost regression tables for additional info for a particular compiler.
There are known limitation on platforms not supporting partial template specialization.
Library depends on correctly implemented
If a standard library provided with compiler is broken, the String Algorithm Library
cannot function properly. Usually it implies that primitive pointer iterators are not
working with the library functions.