[PATCH] D58998: Add declarations of explicit specializations and make primary template deleted
Thomas Köppe via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 9 14:37:12 PST 2019
tkoeppe added a comment.
Ah, another reason to prefer templates might be that templates deduce, and overloads convert. With the template, you can be sure that there aren't any accidental conversions (which would hit the deleted primary template).
Do you think that matters? If so, we can preserve that behaviour by retaining the deleted primary template (but NOT defining any explicit specializations).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58998/new/
https://reviews.llvm.org/D58998
More information about the llvm-commits
mailing list