-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Internal Code
-
Service Arch
-
ALL
https://github.com/mongodb/mongo/blob/ade18a70ec691e327b7efa800ad5ea56d51c9ac5/src/mongo/base/initializer.cpp#L175 is currently relying on the broken rule about aggregate initialization allowing default construction for types that aren't actually default constructible (see https://wg21.link/p1008) and that loophole is going away.
- split from
-
SERVER-59230 Fix errors building with latest stable GCC and clang in C++20 mode
- Closed