|
Boost : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-03-21 14:31:29
"John Maddock" <john_at_[hidden]> wrote in message
news:01bf01c64d19$14cdf180$32311b56_at_fuji...
> I've just been hit by Boost.Test not following the min/max coding
> guidelines, the patch is trivial:
>
> Index: boost/test/floating_point_comparison.hpp
> ===================================================================
> RCS file: /cvsroot/boost/boost/boost/test/floating_point_comparison.hpp,v
> retrieving revision 1.26
> diff -r1.26 floating_point_comparison.hpp
> 66c66
> < return std::numeric_limits<FPT>::max();
> ---
>> return (std::numeric_limits<FPT>::max)();
>
> Needs to be applied to the release branch as well now of course :-)
>
> Thanks, John.
I though Volodya fixed this along with other max. Anyway, could you commit
this?
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk