C++ Logo

std-proposals

Advanced search

Re: [std-proposals] The Oxford variadic comma

From: Jan Schultke <janschultke_at_[hidden]>
Date: Wed, 28 Feb 2024 20:38:45 +0100
void a(auto...); is equivalent to a declaration

template<class... Ts>
void a(Ts...);

[dcl.fct] has a special case for auto so that this is also a function
template parameter pack (https://eel.is/c++draft/dcl.fct#26).

This already has the desired meaning, so I don't see a reason to deprecate it.

Received on 2024-02-28 19:38:57