C++ Logo

std-discussion

Advanced search

Re: Thou shalt not... specify deducible template arguments?

From: Jason McKesson <jmckesson_at_[hidden]>
Date: Thu, 29 Oct 2020 09:26:14 -0400
No. The ability to explicitly provide parameters is too useful to deny
users. It's a useful tool for dealing with cases that would otherwise
be ambiguous.

The fact that a function is a template is not an implementation
detail, nor are its template parameters *regardless* of their
deducibility.

Received on 2020-10-29 08:26:26