Boost logo

Boost Users :

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: OvermindDL1 (overminddl1_at_[hidden])
Date: 2008-12-19 12:43:03


On Fri, Dec 19, 2008 at 10:21 AM, Joseph A. Marks
<josephamarks_at_[hidden]> 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)

Did you copy/paste something wrong?

Either way, you may want to check your friend overloaded operator<<
function's signature to make sure it is correct. Do you have a test
case you can send for us to look at, or can you just send the code in
full?


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