C++ Logo

std-proposals

Advanced search

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

From: Avi Kivity <avi_at_[hidden]>
Date: Mon, 02 Dec 2024 12:55:51 +0200
On Mon, 2024-12-02 at 10:26 +0000, Jonathan Wakely via Std-Proposals
wrote:
>
>

> On Sun, 1 Dec 2024 at 19:00, Sebastian Wittmeier via Std-Proposals
> <std-proposals_at_[hidden]> wrote:
> >
> >
> > Would it be affected by the design decision of retiring niebloids?
> > P3136
> > https://github.com/cplusplus/papers/issues/1790
> >
>
>
> No, because what Avi showed below is not a niebloid, it's just a
> function object. Niebloids are the strange "might be a magical
> function template or it might not be" things previously used for
> specifying constrained algos such as std::ranges::copy. What has been
> retired is the "maybe a function template and maybe not" property.
> Using function objects (or customization point objects) to implement
> operations such as "swap" or "copy" or Avi's proposed "construct" has
> not been retired.


Yes. Apologies for using the term without fully understanding it.


Received on 2024-12-02 10:55:55