35 #define _NEW_THROW_H 1
39 #if (_GLIBCXX_HOSTED && __cpp_exceptions && __cplusplus > 202302L \
40 && __cpp_constexpr_exceptions >= 202411L)
44 namespace std _GLIBCXX_VISIBILITY(default)
46 _GLIBCXX_BEGIN_NAMESPACE_VERSION
49 #if (__cpp_exceptions && __cplusplus > 202302L \
50 && __cpp_constexpr_exceptions >= 202411L)
52 [[noreturn, __gnu__::__always_inline__]] constexpr
void
53 __throw_bad_alloc(
void)
58 [[noreturn, __gnu__::__always_inline__]] constexpr
void
59 __throw_bad_array_new_length(
void)
61 throw bad_array_new_length();
66 __throw_bad_alloc(
void) __attribute__((__noreturn__));
69 __throw_bad_array_new_length(
void) __attribute__((__noreturn__));
73 _GLIBCXX_END_NAMESPACE_VERSION