|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2007-02-18 09:30:39
Howard Hinnant <howard.hinnant_at_[hidden]> writes:
> It isn't an exhaustive test, but does tend to catch such bugs in the
> wild. A disadvantage of this approach is that it may upset some
> algorithms which only require comp(x,y) but not comp(y,x) to be valid.
Seems to me that either means you should have known not to use this
test on that algorithm, or it reveals a bug in the algorithm's
documentation. What am I missing?
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk