Boost logo

Boost :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-12-02 15:10:41


"Hugo Duncan" <hugoduncan_at_[hidden]> wrote in message
news:op.t2krrtuczbhucb_at_localhost...
> Hi,
>
> I was wanting to check two boost::numeric::interval's for closeness, but
> find I get a compile error. The below fails to compile, with the error
> messages shown.
>
> I believe this is because
> i) the comparison operator for interval is templated,
> ii) boost.test wraps one of the values with a readonly_property
> and therefore the template is not an exact match. Changing the tolerance
> to an interval does not change anything. This is with MSVC8 and with gcc
> 3.4.4 on windows.
>
> Is this a bug, a missing feature - or am I misusing BOOST_CHECK_CLOSE ?

I've fixed in local version. I'll commit it when I have a time.

Gennadiy


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