https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71886
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71886
--- Comment #3 from Daniel Krügler ---
(In reply to Ville Voutilainen from comment #2)
> Clang also rejects the template.
And Visual Studio 2015 rejects the template also.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71886
Ville Voutilainen changed:
What|Removed |Added
CC||ville.voutilainen at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71886
--- Comment #1 from Tomasz Kamiński ---
Such code is useful, for example in case of variant universal
constructor from U&&, where there is a need to determine best candidate among
the function taking parameter each type be value.