|
Boost : |
From: Kostya Altukhov (kostya_at_[hidden])
Date: 2002-07-02 10:15:41
Stéphane Bronsart wrote:
>Here is my proposal for lexical_cast :
>
><<<< If all is ok, normaly copy_of_arg and arg MUST be the same !!!
>
That's not always true. E.g. if we convert from float or double to
string, the copy_of_arg and arg will not be the same in most cases.
Try something like lexical_cast<string>(2./3.), for example.
Best regards,
Kostya
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk