
29 Jan
2005
29 Jan
'05
3:55 p.m.
std::cout << obj.fn() gives me "76" and BOOST_CHECK_EQUAL(obj.fn), true) fails, with the message [...] Any suggestions?
I do not know what is going on with your bool. But I would suggest using BOOST_CHECK tool instead for checking result of a function returning bool. In this case it wouldn't matter if true is 1234 in fact. Gennadiy