[Bug c++/10118] Bad diagnostic with cast in template argument expression

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10118 --- Comment #12 from Andrew Pinski --- Hmm, clang accepts this also for -std=c++17 (and above). While EDG accepts this for --c++11 (and above). Is this valid in C++11+ or C++17+ now?

[Bug c++/10118] Bad diagnostic with cast in template argument expression

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10118 Andrew Pinski changed: What|Removed |Added Blocks||101603 Last reconfirmed|2005-12-11 23:

[Bug c++/10118] Bad diagnostic with cast in template argument expression

2017-02-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10118 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Known to f