Boost logo

Boost Users :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2006-06-08 17:50:38


Gennadiy Rozental wrote:
> "Thorsten Ottosen" <thorsten.ottosen_at_[hidden]> wrote in message
> news:44881F97.8050803_at_dezide.com...
>
>>>> Is there a way to get the funcationality of BOOST_CHECK_EQUAL when I
>>>>want to test that two parameters are not equal to each other? I like the
>>>>way BOOST_CHECK_EQUAL allow me to see the mismatched runtime values.
>>>
>>>
>>>BOOST_CHECK_PREDICATE( std::not_equal_to<T>, (a)(b) );
>>
>>I thought we agreed that you would make all these available as easy-to
>>use macros?
>
>
> I didn't have record of this,

I do.

> but I am ready to reconsider this after
> release. My personal opinion is that above is not that wordy to warant huge
> number of extra tools for all possible simple predicates. On the other hand
> <functional> have predicate for each one. I would like to hear users input
> on this one.

Well, we were several people back then who wanted it.

-Thorsten


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net