|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2006-03-21 13:55:51
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk