|
Boost : |
From: Rozental, Gennadiy (gennadiy.rozental_at_[hidden])
Date: 2002-11-25 13:47:20
While ago John Panzer proposed function test_strict_weak_ordering
I modified it for use with Boost.Test (look here:
http://groups.yahoo.com/group/boost/files/test_strict_weak_ordering/BTL_comp
atible/runtime_concept_check.hpp)
I was thinking about adding it to Boost.Test. Will you find it usefull?
Gennadiy.
> -----Original Message-----
> From: Ben Young [mailto:ben.young_at_[hidden]]
> Sent: Monday, November 25, 2002 9:13 AM
> To: Boost mailing list
> Subject: [boost] strict_weak_ordering
>
>
>
> Recently at our company we had a couple of bugs relating to people
> incorrectly writing comparison operators, so I came up with
> this little
> helper. It is very trivial, but useful none the less as bogus
> comparison
> operators can be the cause of many bugs.
>
> Obviously it could be improved to take a predictate of some kind and
> checged to use the boost pre-processor library, but,
> otherwise, is anyone
> interested
>
> Yours
>
> Ben Young
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk