https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89220

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Matt A from comment #0)
> Interestingly with "-std=c++1y" both x and y fail to compile, which is at
> least consistent (even if I'm not sure it's correct...)

It's correct. -std=c++1y is a synonym for -std=c++14 which doesn't support
class template argument deduction.

Reply via email to