|
Boost Users : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-04-20 10:41:41
Tim Murison wrote:
> Hi,
>
> I'm getting a compiler error with MSVC .NET 2003 in release mode.
> Compiling the following code gives:
> "error C2676: binary '&&' : 'const ASP' does not define this operator
> or a conversion to a type acceptable to the predefined operator"
>
> If I compile in debug mode, or if I remove the "const" on the
> shared_ptr arguments, it complies without complaint.
Interestingly, I'm getting the same error in debug builds and non-const
arguments as well, even on if( a && b ). I'll try to find a workaround.
FWIW, VC8 compiles the code.
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