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

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91803 Marek Polacek changed: What|Removed |Added Severity|normal |enhancement

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

2020-01-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91803 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2019-09-17 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91803 --- Comment #2 from Bernd Edlinger --- (In reply to Marek Polacek from comment #1) > I do not think that is a bug in the compiler; after all, the error message > says that is not valid. Yes, usually that would not make sense, but __typeof() alon

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

2019-09-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91803 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment