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

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, the paper added also the new case to
https://eel.is/c++draft/expr.const#10.27
but
https://eel.is/c++draft/expr.new#8.5
has not been changed and still says that say new int[-1] in constexpr function
is ill-formed.  So, when should one expect std::bad_array_new_length() to be
actually thrown (except when throwing it manually)?

Reply via email to