18 Feb
2015
18 Feb
'15
12:32 p.m.
On Wed, Feb 18, 2015 at 2:57 PM, Olaf van der Spek
Hi,
Does Boost have functions like htmlspecialchars and urlencode (from PHP)? If not, I think they'd make a nice addition to the string algorithm lib.
There is XML character decorator in Boost.Log. It is based on a common tool called pattern_replacer which can be used as a function (see https://github.com/boostorg/log/blob/master/include/boost/log/expressions/fo...). In Boost.StringAlgo there are a number of replace algorithms which can be used for this.