37#define _FUNCTEXCEPT_H 1
42namespace std _GLIBCXX_VISIBILITY(default)
44_GLIBCXX_BEGIN_NAMESPACE_VERSION
49 __throw_bad_exception(
void) __attribute__((__noreturn__));
53 __throw_bad_alloc(
void) __attribute__((__noreturn__));
56 __throw_bad_array_new_length(
void) __attribute__((__noreturn__));
60 __throw_bad_cast(
void) __attribute__((__noreturn__));
63 __throw_bad_typeid(
void) __attribute__((__noreturn__));
67 __throw_logic_error(
const char*) __attribute__((__noreturn__));
70 __throw_domain_error(
const char*) __attribute__((__noreturn__));
73 __throw_invalid_argument(
const char*) __attribute__((__noreturn__));
76 __throw_length_error(
const char*) __attribute__((__noreturn__));
79 __throw_out_of_range(
const char*) __attribute__((__noreturn__));
82 __throw_out_of_range_fmt(
const char*, ...) __attribute__((__noreturn__))
83 __attribute__((__format__(__gnu_printf__, 1, 2)));
86 __throw_runtime_error(const
char*) __attribute__((__noreturn__));
89 __throw_range_error(const
char*) __attribute__((__noreturn__));
92 __throw_overflow_error(const
char*) __attribute__((__noreturn__));
95 __throw_underflow_error(const
char*) __attribute__((__noreturn__));
99 __throw_ios_failure(const
char*) __attribute__((__noreturn__));
102 __throw_ios_failure(const
char*,
int) __attribute__((__noreturn__));
106 __throw_system_error(
int) __attribute__((__noreturn__));
110 __throw_future_error(
int) __attribute__((__noreturn__));
114 __throw_bad_function_call() __attribute__((__noreturn__));
118 __attribute__((__noreturn__))
inline void
119 __throw_invalid_argument(
const char*)
120 { std::__terminate(); }
122 __attribute__((__noreturn__))
inline void
123 __throw_out_of_range(
const char*)
124 { std::__terminate(); }
126 __attribute__((__noreturn__))
inline void
127 __throw_out_of_range_fmt(
const char*, ...)
128 { std::__terminate(); }
130 __attribute__((__noreturn__))
inline void
131 __throw_runtime_error(
const char*)
132 { std::__terminate(); }
134 __attribute__((__noreturn__))
inline void
135 __throw_overflow_error(
const char*)
136 { std::__terminate(); }
140_GLIBCXX_END_NAMESPACE_VERSION
ISO C++ entities toplevel namespace is std.