[SERVER-62564] MSVC2022 enable the /Zc:lambda processor flag Created: 12/Jan/22  Updated: 29/Oct/23  Resolved: 13/Jan/22

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

Type: Bug Priority: Major - P3
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by SERVER-62480 Fix future_test files in MSVC 2022 un... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service Arch 2022-1-24
Participants:

 Description   

SERVER-62480 turned this /Zc:lambda option off in order to just get the code building in MSVC2022 under C++20. This is less than ideal, so this ticket is the code changes we need in order to turn that option back on.



 Comments   
Comment by Githook User [ 13/Jan/22 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-62564 Trailing return types in complex lambdas in future_test_*

Revert "SERVER-62480 disable new lambda processor in MSVC2022 C++20 mode"
This reverts commit cf0d1ffe36d1d787169569989abefa6cbdb2e163.
Branch: master
https://github.com/mongodb/mongo/commit/f212fff6d910cd717e2a7979ed51687d0fb4832a

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