Boost logo

Boost :

Subject: Re: [boost] Is this a MSVC bug?
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2014-05-06 13:03:32


[Andrzej Krzemienski]
> the following program fires an assert in MS VC++ compiler (v. 10.0, 11.0,
> 12.0):

[Jonathan Wakely]
> It's probably creating a copy-initialized temporary and binding to
> that temporary.

Still repros with our current development build. I've filed this as DevDiv#939829 "operator=(const int& ii) creates a temporary when it shouldn't" in our internal database.

Thanks,
STL


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk