C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Explicit template parameters

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Sun, 3 Jul 2022 15:51:58 +0300
On Sun, 3 Jul 2022 at 15:49, Bo Persson via Std-Proposals
<std-proposals_at_[hidden]> wrote:

> The standard already has type_identity, added specifically for this purpose.
>
> https://en.cppreference.com/w/cpp/types/type_identity
>
> template<class T>
> void func(std::type_identity_t<T>& arg);
>
> Do we really need one more way to do this?

No, we don't.

Received on 2022-07-03 12:52:10