Boost logo

Boost :

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

[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.

The compiler team has fixed this in the next major version of VC.


Boost list run by bdawes at, gregod at, cpdaniel at, john at