Hi,
I've encountered a bug with ireplace_all from the Boost String Algorithms library for version 1.35. If I pass a character array for the Format argument, the function ignores the null terminator and instead uses the entire array minus the last character to replace the occurrences of the Search string in the Input parameter. However, if I provide a pointer to a character array, the string replacement is done as expected.
When I stepped into the code, I came across the following lines (excerpt from /trunk/boost/range/as_literal.hpp):
template< class Char, std::size_t sz >
inline iterator_range