C++ Logo

STD-DISCUSSION

Advanced search

Subject: Re: Thou shalt not... specify deducible template arguments?
From: Jason McKesson (jmckesson_at_[hidden])
Date: 2020-10-29 08:26:14


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.


STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups