Boost logo

Boost :

Subject: Re: [boost] [Format] Making a change
From: Olaf van der Spek (ml_at_[hidden])
Date: 2012-02-15 09:51:46


On Wed, Feb 15, 2012 at 2:49 PM, Jeff Flinn <Jeffrey.Flinn_at_[hidden]> wrote:
>> Argh, those silly locales again.
>>
>>> IIRC, when you use explicitly the str function you are stating explicitly
>>> that you want to use the default locale.
>>>
>>> I don't see yet why
>>>
>>> set(dict2, "link", str(format("../../?q=%s") % name)); // 1
>>> set(dict2, "link", format("../../?q=%s") % name); // 2
>>>
>>> is not satisfactory.
>>
>>
>> It's still worse than 2.
>
>
> Which is worse than:
>
> set(dict2, "link", "../../?q=" + name);

Yeah, hmm...

> Facetiousness aside, how would wstrings be dealt with?

Same as before?

-- 
Olaf

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk