cplusplus / nbballot

Handling of NB comments in response to ballots
14 stars 4 forks source link

GB-093 22.8.6 [expected.expected] Add monadic operations to `std::expected` #433

Closed wg21bot closed 1 year ago

wg21bot commented 1 year ago

The API of the new std::expected class template should be consistent with the very similar std::optional, which got new monadic operations added for this revision of C++.

See P2505R4.

JeffGarland commented 1 year ago

LWG has already finished review of P2505 and final updates are in P2505R5. See tracking here:

https://github.com/cplusplus/papers/issues/1161

jensmaurer commented 1 year ago

Accepted.