Boost logo

Boost Users :

Subject: Re: [Boost-users] Syntax error when using BOOST_CHECK_PREDICATE
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2010-01-03 20:00:08


Andrew J. Leer wrote:
> Gennadiy,
> I tried changing what you stated
>
>>> 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) );
>
> However upon doing that I get another error (something to do with templates)

Please post small example illustrating the problem.

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