|  | Home | Libraries | People | FAQ | More | 
boost::algorithm::find_format_all_copy — Generic replace all algorithm.
// In header: <boost/algorithm/string/find_format.hpp> template<typename OutputIteratorT, typename RangeT, typename FinderT, typename FormatterT> OutputIteratorT find_format_all_copy(OutputIteratorT Output, const RangeT & Input, FinderT Finder, FormatterT Formatter); template<typename SequenceT, typename FinderT, typename FormatterT> SequenceT find_format_all_copy(const 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. Repeat this for all matching substrings. The result is a modified copy of the input. It is returned as a sequence or copied to the output iterator.
| ![[Note]](../../../../doc/src/images/note.png) | Note | 
|---|---|
| The second variant of this function provides the strong exception-safety guarantee | 
| Parameters: | 
 | ||||||||
| Returns: | An output iterator pointing just after the last inserted character or a modified copy of the input |