|
Boost Users : |
Subject: Re: [Boost-users] Syntax error when using BOOST_CHECK_PREDICATE
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-12-13 06:19:18
Andrew J. Leer <leeand00 <at> hotmail.com> writes:
> BOOST_AUTO_TEST_CASE( test )
> {
> std::list<int>& list1 = user_defined_func();
> BOOST_CHECK_PREDICATE( validate_list, list1 );
I believe this should be
BOOST_CHECK_PREDICATE( validate_list, (list1) );
Gennadiy
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