From: Terje Slettebø (tslettebo_at_[hidden])
Date: 2002-07-23 21:46:29
>From: "Rene Rivera" <grafik666_at_[hidden]>
>>[2002-07-23] Terje Slettebø wrote:
>>>>From: "Gennaro Prota" <gennaro_prota_at_[hidden]>
>By the way, the above isn't legal code. If you dereference a null-pointer,
>you end up in the land of undefined behaviour... I see that David Abrahams
>point this out in another posting, too.
>Yes I knew that ;-)
Yes, I noticed afterwards, in another posting of yours. :)
>I was just trying to fit it to the exact signature as
>given. This might be the legal version of if: reinterpret_cast<E&>(0), but
>don't have the spec here handy to answer that definitively. Dave?
Gennaro made a version using overloaded lexical_cast (with and without extra
parameter). Wouldn't that be possible to use for this?
>Yep, correct on both counts, and two issues that I don't deal with because
>deal with program generated and parsed data. No humans involved to conform
>to their wishes :-)
>Why wouldn't you want to use streams? Efficiency?
>Nope not speed efficiency, memory efficiency, draging in the streams code
>just something that I try to avoid in server, or low memory programs. The
>less memory I use on the server the more threads and clients I can handle.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk