[swift-evolution] Proposal: Allow explicit type parameter specification in generic function call
Ramiro Feria Purón
ramiro.feria.puron at gmail.com
Thu Dec 1 18:55:00 CST 2016
*Unlike C++'s templates, a Swift's generic function is semantically a
Anton, could you provide further insight on this?
On Fri, 2 Dec 2016 at 01:03 Anton Zhilin via swift-evolution <
swift-evolution at swift.org> wrote:
> I disagree with the suggestion. Unlike C++'s templates, a Swift's generic
> function is semantically a single function. One can say that together with
> a metatype parameter, we pass in witness table.
> What I think we should do is make metatypes easier to use. *Adrian and I
> have a PR* that has already been waiting for almost a month:
> Plus, removal of .self could simplify such calls.
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution