|
Boost Users : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2007-03-08 15:19:48
It depends which version of boost you are using. Original version of the tool indeed used second interface. But it was changed almost immediately to first one that I consider more elegant and convenient.
Genandiy
"Alex Flint" <alex.flint_at_[hidden]> wrote in message news:d77f684a0703070012m180ce1cewbd2e6d25a247787c_at_mail.gmail.com...
Strange... the second works for me but the first one does not! How confusing!
On 3/7/07, Gennadiy Rozental < gennadiy.rozental_at_[hidden]> wrote:
"Alex Flint" < alex.flint_at_[hidden]> wrote in message
> The documentation page for the PREDICATE testing macros gives
> quite different syntax for the WARN vs CHECK methods:
> BOOST_WARN_PREDICATE( moo, (12)(i)(j) );
This one is correct
> BOOST_CHECK_PREDICATE( std::not_equal_to<int>(), 2, (i,17) );
This is an error in an example
Gennadiy
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
------------------------------------------------------------------------------
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
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