6 May
2014
6 May
'14
5:03 p.m.
[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