Date: Fri, 1 Mar 2024 18:04:59 +0000
Wait, there’s a difference between
foo(auto x…)
and
foo(auto …x)
and foo(auto…) decodes that it is the second case?
Nice! I hate it!
On Fri, Mar 1, 2024 at 12:46 PM Jan Schultke <janschultke_at_[hidden]<mailto:janschultke_at_[hidden]>> wrote:
> This is not an abbreviated variadic template; it's an abbreviated non-variadic template with an ellipsis parameter.
No, it is not.
If you stopped snipping the line from your replies, you'd see that you're still misreading what it says.
Here's the correct godbolt: https://godbolt.org/z/sf5azdvK9
foo(auto x…)
and
foo(auto …x)
and foo(auto…) decodes that it is the second case?
Nice! I hate it!
On Fri, Mar 1, 2024 at 12:46 PM Jan Schultke <janschultke_at_[hidden]<mailto:janschultke_at_[hidden]>> wrote:
> This is not an abbreviated variadic template; it's an abbreviated non-variadic template with an ellipsis parameter.
No, it is not.
If you stopped snipping the line from your replies, you'd see that you're still misreading what it says.
Here's the correct godbolt: https://godbolt.org/z/sf5azdvK9
Received on 2024-03-01 18:05:03