[SERVER-54385] DeinitializerContext needs a default constructor Created: 08/Feb/21  Updated: 27/Oct/23  Resolved: 23/Feb/23

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Backlog - Service Architecture
Resolution: Gone away Votes: 0
Labels: mathias-sa-triage, re-triaged-ticket
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from SERVER-59230 Fix errors building with latest stabl... Closed
Assigned Teams:
Service Arch
Operating System: ALL
Participants:

 Description   

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.



 Comments   
Comment by Lauren Lewis (Inactive) [ 18/Mar/22 ]

We haven’t heard back from you for some time, so we're going to close this ticket. If this is still an issue for you, please provide additional information and we will reopen the ticket.

Generated at Thu Feb 08 05:33:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.