|
Boost : |
From: Björn Karlsson (Bjorn.Karlsson_at_[hidden])
Date: 2002-09-28 14:30:58
> From: Stefan Hojer [mailto:redcube_at_[hidden]]
> I wrote a bugfix to lexical_cast which corrects 2 bugs and one little
> improvment:
>
> 1. boost::lexical_cast<char>(' ') works fine.
> 2. boost::lexical_cast<std::string>("This is a test") works fine.
> 3. no conversion is done if Source and Target-Types are identical
>
> Well... i think the code is not 100% conformant to the boost-coding
> standart. Who cares... This can be done if the code will find
> its way to
> the real library
>
> --
> MfG, Stefan Hojer
These two bugs, and a few more, (re)appear on the list every few weeks. Work
is being done on getting an improved lexical_cast in place, but due to a
number of reasons, this won't happen until 1_30_0. There's a proposed
version in the files section at Yahoo Groups, which addresses these issues
and more.
Anyway, I'll forward your suggestions to the maintainer of lexical_cast.
Thanks!
[Answer to "Who cares?": Code conformant with the coding guidelines make it
a lot easier to apply patches. Thus, we do care...]
Bjorn Karlsson
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk