Date: Wed, 11 Oct 2023 20:41:09 +0200
On 10/6/23 18:25, Giuseppe D'Angelo via Std-Proposals wrote:
> Spelled like this (as in, a variadic function), I would actually find it
> a bit dangerous:
It is useful for ignoring a parameter pack:
template <typename... Args>
void foo(Args... args)
{
discard(args...);
}
> Spelled like this (as in, a variadic function), I would actually find it
> a bit dangerous:
It is useful for ignoring a parameter pack:
template <typename... Args>
void foo(Args... args)
{
discard(args...);
}
Received on 2023-10-11 18:41:14