C++ Logo

std-proposals

Advanced search

Re: [std-proposals] std::elide

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Fri, 31 May 2024 18:42:06 +0300
On Fri, 31 May 2024 at 18:26, Gašper Ažman <gasper.azman_at_[hidden]> wrote:
>
> Ville,
>
> shhhh, you'll discourage them giving _conv a nice name ;)

I'll also point out that P2300 operation states aren't the best
motivating example, because coroutinified senders
in P2300 already do the right elide-conversion dance so you can just
emplace a task type into an optional without
having to any elide-conversion dance yourself when using those task
types. And when consuming such senders
with an async_scope, or with the other non-coroutine uses of senders,
you don't need to worry about elide either.

Received on 2024-05-31 15:42:19