cpp_weekly icon indicating copy to clipboard operation
cpp_weekly copied to clipboard

MSVC bug regarding default constructors/initializer lists

Open andy-held opened this issue 1 year ago • 0 comments

Channel

Maybe no the best topic for "C++Weekly", but this might affect a lot of people.

Topics

There is a bug in MSVC that causes a double delete when combining default constructors, and std container initializer lists.

https://developercommunity.visualstudio.com/t/Double-destroy-when-using-compiler-gener/10227826

Topic of the episode could be a warning and possible workarounds.

Length

Probably very short, 3 minutes?

andy-held avatar May 12 '23 09:05 andy-held