(Known) compiler bug in VC12?
This program, when compiled with VC12 (in Visual Studio 2013 RTM) [1] leads to a crash (in all build configurations), when really it shouldn't: #include <string> void foo(std::string const& oops = {}) { } int main() { foo(); } I know of two silent bad codegen bugs that might be related: https://connect.microsoft.com/VisualStudio/feedback/details/800364/initializer-list-calls-object-destructor-twice http://connect.microsoft.com/VisualStudio/feedback/details/800104/ Honestly I think these are different, though. Does anyone know whether there is an actively tracked bug on connect for this whether