...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
boost::algorithm::replace_tail — Replace tail algorithm.
template<typename SequenceT, typename RangeT> void replace_tail(SequenceT & Input, unsigned int N, const RangeT & Format);
Replace the tail of the input with the given format sequence. The tail is a suffix of a string of given size. If the sequence is shorter then required, the whole string is considered to be the tail. The input sequence is modified in-place.
A substitute string
An input string
Length of the tail
|Copyright © 2002-2004 Pavol Droba|