https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91335
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- You can still do that without a named variable: if (static_cast<int*>(foo())) { return 1; }
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91335
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- You can still do that without a named variable: if (static_cast<int*>(foo())) { return 1; }