Boost logo

Boost :

From: Terje Slettebø (tslettebo_at_[hidden])
Date: 2002-08-22 05:44:43


>From: "Victor A. Wagner, Jr." <vawjr_at_[hidden]>

> At Wednesday 2002/08/21 15:23, you wrote:
> >
> >a discussion on an STLport forum triggered a little discussion on
> >lexical_cast. I believe that current implementation has a couple of
flaws:
> >
> I agree here. I've often thought that boost::lexical_cast<std::string>()
> should be a special case that doesn't to the >> afterwards, just swap the
> buffer (might as well go for speed while we're at it).

That sounds like a good idea. How do you do swap the buffer for
std::stringstream and std::string?

Regards,

Terje


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