[Bug c++/91803] statement-expressions are not allowed in template arguments

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 17 21:32:00 GMT 2019


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I do not think that is a bug in the compiler; after all, the error message says
that is not valid.


More information about the Gcc-bugs mailing list