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:[EMAIL PROTECTED]]
> 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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to