|
Boost : |
Subject: Re: [boost] Is floating_point_comparison.hpp general purpose tool?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-12-31 16:23:27
Mateusz Loskot <mateusz <at> loskot.net> writes:
>
> Hi,
>
> I'm wondering why the floating-point algorithms [1]
> implementation in floating_point_comparison.hpp lives in
> Boost UTF.
There are number of things which can be used in production code
which resides under boost/test hood. How does it prevents you from
using it? Is it only general confusion?
> Shouldn't it go to location that would suggest it's not only
> usable for unit tests but it is a general purpose tool.
I do not object too much, other than support assignment. Up till
now I was primarily concentrating on staff under boost/test. Or
you suggest move the support to the math library authors?
Another point is that Boost.Test strives to limit dependencies on
other components. Placing these headers elsewhere might break
this policy.
Incidentally I've got a proposal for the session for boostcon to
cover production use of Boost.Test. If it's approved we can discuss
this subject as well.
Genandiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk