Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-09-28 06:54:45

Alexander Nasonov <alnsn_at_[hidden]> writes:

> David Abrahams wrote:
>> I can think of other uses. You might lexical_cast T->T in order to
>> normalize the value somehow.
> Normalize? Hmm. How do you normalize int or char? ;-)

You're just joking, right? You wouldn't do this for simple builtins.

> I can think of UDT that has some non-serialized members and those
> members you could reset. lexical_cast is not a best tool for this,
> IMO.

Maybe, maybe not. Sometimes convenience is more important than doing
it the best way. It's almost always better to provide uniformity than
to have special cases that break because they *might* just be an

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at