Boost logo

Boost Users :

From: Alex Flint (alex.flint_at_[hidden])
Date: 2007-03-06 23:13:11


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) );
    BOOST_CHECK_PREDICATE( std::not_equal_to<int>(), 2, (i,17) );

Since BOOST_WARN_PREDICATE and BOOST_CHECK_PREDICATE are only slight
variants of one another, I'm confused as to why the syntax differs so much.
Can anyone shed some light on this for me?

Thanks,
Alex



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