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

--- Comment #2 from Louis Dionne <ldionne.2 at gmail dot com> ---
I know but using a runtime assert allows showing that with/without constexpr
have different results. Also, I wanted to emphasize the fact that it could
result into a runtime error, since these are much more insidious than
compile-time errors. With the constexpr-ification of part of the standard
library proposed in [P0202R0], this could be a major problem.

[P0202R0]: http://open-std.org/JTC1/SC22/WG21/docs/papers/2016/p0202r0.html

Reply via email to