Subject: Re: [boost] htmlspecialchars and urlencode?
From: Olaf van der Spek (ml_at_[hidden])
Date: 2015-04-14 14:11:00
On Fri, Apr 3, 2015 at 9:06 AM, Olaf van der Spek <ml_at_[hidden]> wrote:
> On Wed, Feb 18, 2015 at 1:32 PM, Andrey Semashev
> <andrey.semashev_at_[hidden]> wrote:
>> On Wed, Feb 18, 2015 at 2:57 PM, Olaf van der Spek <ml_at_[hidden]> wrote:
>>> 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
> Does it do multiple passes over the input and update the string in-place?
> Doesn't look like a good idea.
>> In Boost.StringAlgo there are a number of replace algorithms which can
>> be used for this.
> Which one would be best?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk