|
Boost : |
Subject: Re: [boost] [General] Always treat std::strings as UTF-8
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2011-01-19 08:55:38
On Wed, 19 Jan 2011 12:10:35 +0000
Alexander Lamaison <awl03_at_[hidden]> wrote:
>On Tue, 18 Jan 2011 20:37:44 -0500, Chad Nelson wrote:
>> My utf8_t class lets you get the std::string with operator*, so it's
>> easy to use with such encoding-agnostic functions as well.
>
> I meant to mention this: please, no ;) Can we make it .raw()
> or .str() or something, anything but an operator overload?
operator* has a long history of providing the contents of a variable,
even in C, and is a lot less typing to boot. But if you have any
technical arguments against it, I'm listening.
-- Chad Nelson Oak Circle Software, Inc. * * *
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk