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.
PrevUpHomeNext

String Token

Functions which perform percent-decoding return values using std::string when called without special arguments. This is the best default for ergonomics, and a good enough default for performance considering that many decoded strings fit in the small buffer available to most standard implementations. Some use-cases may desire more control over how these algorithms acquire and store data in strings, for example:

The library provides a special customization mechanism called StringToken to control how algorithms which require an output buffer acquire their storage. The signature


PrevUpHomeNext