[Bug c++/89442] [concepts] missing "wrong number of template arguments" error in requires-clause

andrew.n.sutton at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Nov 15 17:02:00 GMT 2019


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

Andrew Sutton <andrew.n.sutton at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrew.n.sutton at gmail dot com

--- Comment #1 from Andrew Sutton <andrew.n.sutton at gmail dot com> ---
The error is a little better in trunk, but I think this should be caught when
it's parsed: you can't ever use foo with one argument.

Looking into this, we aren't converting template arguments for dependent
variable templates in finish_id_expr, but we probably should.

I don't think this is strictly concepts-related.


More information about the Gcc-bugs mailing list