Boost logo

Boost :

From: Jason McCarty (bclg_at_[hidden])
Date: 2003-08-05 14:07:28


gmelquio_at_[hidden] wrote:
> En r?ponse ? Jason McCarty <bclg_at_[hidden]>:
> Since you are new to this mailing-list, you don't know all the discussions there
> was about input/output and the library (mean/width, relative error, limited
> number of digits, point representation, etc). To sumarize: <interval/io.hpp> is
> a bit on the braindead side. It should never have been a real header. It was
> rather designed as a quick and dirty hack to debug programs. It was up to the
> user to provide well-built implementation for << and >> in their final programs
> (it's the reason why io.hpp is not automatically included by interval.hpp so
> that there is no multiple definition). In the next release, this header will
> probably be moved to the example section so that there is no more misunderstanding.
>
> In conclusion, don't include <interval/io.hpp> but directly define your own
> operators. And thanks for your function, I will use it when I create the example
> file.

I see, thanks for clarifying that. I'm already using the input function
I wrote, and for my purposes a simple output function will suffice (no
need to widen the interval to make up for inexact decimal conversion).
I'll try to do a bit more research before posting next time too ;-)

Jason


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