https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71886
--- Comment #3 from Daniel Krügler <daniel.kruegler at googlemail dot com> --- (In reply to Ville Voutilainen from comment #2) > Clang also rejects the template. And Visual Studio 2015 rejects the template also.