C++ Logo

std-proposals

Advanced search

Re: [std-proposals] std::construct<T>

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Tue, 15 Jul 2025 17:04:57 +0300
On Tue, 15 Jul 2025 at 16:19, Avi Kivity <avi_at_[hidden]> wrote:

> I don't quite follow what this means. The lambda is not concise? So what?
>
> Perhaps show what the solution looks like with std::construct applied?
>
>
>
> It's shown later in the proposal.

Perhaps move it earlier?

I would find it easier to read the proposal if it would give me the narrative

1) here's a problem
2) here's how we solve it with a lambda
3) the lambda is verbose, so introduce an acme::construct to make the
pipeline with transform less verbose
4) standardize acme::construct as std::construct
5) and we're done

Received on 2025-07-15 14:05:11