[SERVER-57359] A few mpark/variant aliases are missing from stdx Created: 02/Jun/21  Updated: 06/Dec/22

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

Type: Bug Priority: Major - P3
Reporter: Billy Donahue Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: sa-remove-fv-backlog-22
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Operating System: ALL
Participants:

 Description   

using ::mpark::in_place;
using ::mpark::in_place_index;
using ::mpark::in_place_index_t;
using ::mpark::in_place_t;
using ::mpark::in_place_type;
using ::mpark::in_place_type_t;



 Comments   
Comment by Billy Donahue [ 02/Jun/21 ]

These are actually in the <utility> header and used for std::optional and std::any.
They are not <variant>-specific, but they're the types the mpark variant API needs.

This would mean we'd have the std::in_place (etc) for std::any, the boost::in_place (etc) for boost::optional, and then stdx::in_place (etc) for stdx::variant.

https://en.cppreference.com/w/cpp/utility/in_place

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