19 Dec
2008
19 Dec
'08
9:01 p.m.
Joseph A. Marks wrote:
Has anyone seen an error like this?
SpecialDate is a user-defined type, however, I'm getting the following:
boost/test/test_tools.hpp(326) : error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'const is a user-defined type, however, I'm getting the following: ' (or there is no acceptable conversion)
Thanks in Advance,
Joseph A. Marks e-mail: josephamarks@yahoo.com
I believe Boost.test likes to output the values in question to stdout when a test case fails. If one of those values is a user-defined type, that type will need an overloaded << operator for this to work.