C++ Logo

std-proposals

Advanced search

Re: [std-proposals] std::elide

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Tue, 4 Jun 2024 17:44:08 +0100
On Tue, Jun 4, 2024 at 5:31 PM Robert A.H. Leahy wrote:
>
> I explicitly want std::elide or its equivalent to interact with
> CTAD. I explicitly want std::elide to be deduced as a template
> parameter to constructors (unary or otherwise). These are
> both things that I actually do in code I have deployed on
> production systems right now.


Without giving away company secrets, if you can describe the use cases
for that, then we can factor them into the paper?

Quick question: When you want the elider class to be a template
parameter for a constructor, does the constructor always have more
than one parameter?

Received on 2024-06-04 16:44:21