...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::algorithm::find_format — Generic replace algorithm.
// In header: <boost/algorithm/string/find_format.hpp> template<typename SequenceT, typename FinderT, typename FormatterT> void find_format(SequenceT & Input, FinderT Finder, FormatterT Formatter);
Use the Finder to search for a substring. Use the Formatter to format this substring and replace it in the input. The input is modified in-place.
Parameters: |
|