Date: Tue, 4 Jun 2024 23:49:55 +0100
On Tue, Jun 4, 2024 at 10:45 PM Robert A.H. Leahy wrote:
>
> The classes for which this doesn't work, the ones you're
> trying to save, are buggy.
There's nothing wrong with a class that has a "typename... Params" constructor.
> Moreover if this patch is implemented it will break/prevent legitimate,
> non-buggy uses of std::elide.
If a programmer doesn't want to use "std::elide" because it fails to
be a constructor parameter, then they can use their own elider. Or use
"std::elide_nofail".
>
> The classes for which this doesn't work, the ones you're
> trying to save, are buggy.
There's nothing wrong with a class that has a "typename... Params" constructor.
> Moreover if this patch is implemented it will break/prevent legitimate,
> non-buggy uses of std::elide.
If a programmer doesn't want to use "std::elide" because it fails to
be a constructor parameter, then they can use their own elider. Or use
"std::elide_nofail".
Received on 2024-06-04 22:50:09