$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] 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:'
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-12-19 23:05:53
Kenny Riddile <kfriddile <at> yahoo.com> writes:
> 
> 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 <at> 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.
> 
Yep. That's right summary. 
I would reply sooner, but for the completely unreadable subject. It does not fit
into my subject line and doesn't mention boost.test.
Gennadiy