C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Extend monadic operations of std::expected and std::optional by allowing taking extra arguments

From: Sebastian Wittmeier <wittmeier_at_[hidden]>
Date: Mon, 6 Jul 2026 00:01:09 +0200
Hi Vitaly, could you put Tony Tables (two columns - before/after - named after Tony van Eerd) into your proposal?   -----Ursprüngliche Nachricht----- Von:Vitaly Fanaskov via Std-Proposals <std-proposals_at_[hidden]> Gesendet:So 05.07.2026 23:46 Betreff:[std-proposals] Extend monadic operations of std::expected and std::optional by allowing taking extra arguments An:std-proposals_at_[hidden]; CC:Vitaly Fanaskov <vt4a2h_at_[hidden]>; Hi everyone,  Brief description of the proposal: This paper aims to extend monadic operations of std::expected and std::optional by allowing taking extra arguments. These arguments will be forwarded to the given function, passed after the first argument with the contained value. When applicable, the position of the contained value can be controlled using a placeholder mechanism.  Detailed description, motivation, examples, and experimental implementation: https://github.com/vt4a2h/ipa  What do you think? Any comments and suggestions are welcome. Cheers, Vitaly   -- Std-Proposals mailing list Std-Proposals_at_[hidden] https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals

Received on 2026-07-05 22:05:29