cpp_weekly
cpp_weekly copied to clipboard
MSVC bug regarding default constructors/initializer lists
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?