[Bug c++/86524] [8/9 Regression] std::less with pointer arguments not usable in static_assert in constexpr function
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 16 13:13:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86524
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-07-16
Component|libstdc++ |c++
Ever confirmed|0 |1
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Right, the problem is how the C++ front-end evaluates it. It takes different
code paths when compiling templates and non-templates.
The new implementation of std::less might have made the problem apparent, but
it's still a problem in the front-end.
More information about the Gcc-bugs
mailing list