[SERVER-48898] Remove/update util/concepts.h macros after C++20 Created: 16/Jun/20  Updated: 29/Oct/23  Resolved: 15/May/23

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

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

Issue Links:
Depends
Related
is related to SERVER-47912 add MONGO_CONCEPTS_ macro prefix Closed
Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-05-15, Service Arch 2023-05-29
Participants:

 Description   

The macros in util/concepts.h were meant as transitional tools smooth over template restrictions until c++20 support was made available.

Once we're onto C++20, we should replace the template/requires macros and re-evaluate the necessity of the REQUIRES_OUT_OF_LINE_DEF and REQURES_FOR_NON_TEMPLATE.

We should also think about prefixing any macros we retain, as mentioned in SERVER-47912



 Comments   
Comment by Githook User [ 13/May/23 ]

Author:

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

Message: SERVER-48898 replace util/concepts.h with real concepts
Branch: master
https://github.com/mongodb/mongo/commit/f573501f44fd8cdc479f1ca830f200c693754ff8

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