44 #pragma GCC system_header 46 #pragma GCC visibility push(default) 61 typedef __cxa_cdtor_return_type (*__cxa_cdtor_type)(
void *);
65 __cxa_vec_new(
size_t __element_count,
size_t __element_size,
66 size_t __padding_size, __cxa_cdtor_type __constructor,
67 __cxa_cdtor_type __destructor);
70 __cxa_vec_new2(
size_t __element_count,
size_t __element_size,
71 size_t __padding_size, __cxa_cdtor_type __constructor,
72 __cxa_cdtor_type __destructor,
void *(*__alloc) (
size_t),
73 void (*__dealloc) (
void*));
76 __cxa_vec_new3(
size_t __element_count,
size_t __element_size,
77 size_t __padding_size, __cxa_cdtor_type __constructor,
78 __cxa_cdtor_type __destructor,
void *(*__alloc) (
size_t),
79 void (*__dealloc) (
void*,
size_t));
82 __cxa_vec_ctor_return_type
83 __cxa_vec_ctor(
void* __array_address,
size_t __element_count,
84 size_t __element_size, __cxa_cdtor_type __constructor,
85 __cxa_cdtor_type __destructor);
87 __cxa_vec_ctor_return_type
88 __cxa_vec_cctor(
void* __dest_array,
void* __src_array,
89 size_t __element_count,
size_t __element_size,
90 __cxa_cdtor_return_type (*__constructor) (
void*,
void*),
91 __cxa_cdtor_type __destructor);
95 __cxa_vec_dtor(
void* __array_address,
size_t __element_count,
96 size_t __element_size, __cxa_cdtor_type __destructor);
99 __cxa_vec_cleanup(
void* __array_address,
size_t __element_count,
size_t __s,
100 __cxa_cdtor_type __destructor) _GLIBCXX_NOTHROW;
104 __cxa_vec_delete(
void* __array_address,
size_t __element_size,
105 size_t __padding_size, __cxa_cdtor_type __destructor);
108 __cxa_vec_delete2(
void* __array_address,
size_t __element_size,
109 size_t __padding_size, __cxa_cdtor_type __destructor,
110 void (*__dealloc) (
void*));
113 __cxa_vec_delete3(
void* __array_address,
size_t __element_size,
114 size_t __padding_size, __cxa_cdtor_type __destructor,
115 void (*__dealloc) (
void*,
size_t));
118 __cxa_guard_acquire(__guard*);
121 __cxa_guard_release(__guard*) _GLIBCXX_NOTHROW;
124 __cxa_guard_abort(__guard*) _GLIBCXX_NOTHROW;
128 __cxa_atexit(
void (*)(
void*),
void*,
void*) _GLIBCXX_NOTHROW;
131 __cxa_finalize(
void*);
135 __cxa_thread_atexit(
void (*)(
void*),
void*,
void *) _GLIBCXX_NOTHROW;
139 __cxa_pure_virtual(
void) __attribute__ ((__noreturn__));
142 __cxa_deleted_virtual(
void) __attribute__ ((__noreturn__));
146 __cxa_bad_cast() __attribute__((__noreturn__));
149 __cxa_bad_typeid() __attribute__((__noreturn__));
152 __cxa_throw_bad_array_new_length() __attribute__((__noreturn__));
195 __cxa_demangle(const
char* __mangled_name,
char* __output_buffer,
196 size_t* __length,
int* __status);
214 __fundamental_type_info(
const char* __n) :
std::type_info(__n) { }
217 ~__fundamental_type_info();
225 __array_type_info(
const char* __n) :
std::type_info(__n) { }
228 ~__array_type_info();
236 __function_type_info(
const char* __n) :
std::type_info(__n) { }
239 ~__function_type_info();
244 __is_function_p()
const;
252 __enum_type_info(
const char* __n) :
std::type_info(__n) { }
262 unsigned int __flags;
266 __pbase_type_info(
const char* __n,
int __quals,
268 :
std::type_info(__n), __flags(__quals), __pointee(__type)
272 ~__pbase_type_info();
278 __volatile_mask = 0x2,
279 __restrict_mask = 0x4,
280 __incomplete_mask = 0x8,
281 __incomplete_class_mask = 0x10,
282 __transaction_safe_mask = 0x20,
283 __noexcept_mask = 0x40
287 __pbase_type_info(
const __pbase_type_info&);
290 operator=(
const __pbase_type_info&);
295 unsigned int __outer)
const;
298 __pointer_catch(
const __pbase_type_info* __thr_type,
void** __thr_obj,
299 unsigned __outer)
const;
302 inline bool __pbase_type_info::
303 __pointer_catch (
const __pbase_type_info *thrown_type,
305 unsigned outer)
const 307 return __pointee->__do_catch (thrown_type->__pointee, thr_obj, outer + 2);
311 class __pointer_type_info :
public __pbase_type_info
315 __pointer_type_info(
const char* __n,
int __quals,
317 : __pbase_type_info (__n, __quals, __type) { }
321 ~__pointer_type_info();
326 __is_pointer_p()
const;
329 __pointer_catch(
const __pbase_type_info* __thr_type,
void** __thr_obj,
330 unsigned __outer)
const;
333 class __class_type_info;
336 class __pointer_to_member_type_info :
public __pbase_type_info
339 __class_type_info* __context;
342 __pointer_to_member_type_info(
const char* __n,
int __quals,
344 __class_type_info* __klass)
345 : __pbase_type_info(__n, __quals, __type), __context(__klass) { }
348 ~__pointer_to_member_type_info();
351 __pointer_to_member_type_info(
const __pointer_to_member_type_info&);
353 __pointer_to_member_type_info&
354 operator=(
const __pointer_to_member_type_info&);
358 __pointer_catch(
const __pbase_type_info* __thr_type,
void** __thr_obj,
359 unsigned __outer)
const;
363 class __base_class_type_info
366 const __class_type_info* __base_type;
367 #ifdef _GLIBCXX_LLP64 368 long long __offset_flags;
373 enum __offset_flags_masks
375 __virtual_mask = 0x1,
383 __is_virtual_p()
const 384 {
return __offset_flags & __virtual_mask; }
387 __is_public_p()
const 388 {
return __offset_flags & __public_mask; }
396 return static_cast<ptrdiff_t
>(__offset_flags) >> __offset_shift;
405 __class_type_info (
const char *__n) : type_info(__n) { }
408 ~__class_type_info ();
428 __contained_virtual_mask = __base_class_type_info::__virtual_mask,
431 __contained_public_mask = __base_class_type_info::__public_mask,
434 __contained_mask = 1 << __base_class_type_info::__hwm_bit,
436 __contained_private = __contained_mask,
437 __contained_public = __contained_mask | __contained_public_mask
440 struct __upcast_result;
441 struct __dyncast_result;
446 __do_upcast(
const __class_type_info* __dst_type,
void**__obj_ptr)
const;
449 __do_catch(
const type_info* __thr_type,
void** __thr_obj,
450 unsigned __outer)
const;
456 __do_upcast(
const __class_type_info* __dst,
const void* __obj,
457 __upcast_result& __restrict __result)
const;
466 __find_public_src(ptrdiff_t __src2dst,
const void* __obj_ptr,
467 const __class_type_info* __src_type,
468 const void* __src_ptr)
const;
478 __do_dyncast(ptrdiff_t __src2dst, __sub_kind __access_path,
479 const __class_type_info* __dst_type,
const void* __obj_ptr,
480 const __class_type_info* __src_type,
const void* __src_ptr,
481 __dyncast_result& __result)
const;
488 __do_find_public_src(ptrdiff_t __src2dst,
const void* __obj_ptr,
489 const __class_type_info* __src_type,
490 const void* __src_ptr)
const;
494 class __si_class_type_info :
public __class_type_info
497 const __class_type_info* __base_type;
500 __si_class_type_info(
const char *__n,
const __class_type_info *__base)
501 : __class_type_info(__n), __base_type(__base) { }
504 ~__si_class_type_info();
507 __si_class_type_info(
const __si_class_type_info&);
509 __si_class_type_info&
510 operator=(
const __si_class_type_info&);
514 __do_dyncast(ptrdiff_t __src2dst, __sub_kind __access_path,
515 const __class_type_info* __dst_type,
const void* __obj_ptr,
516 const __class_type_info* __src_type,
const void* __src_ptr,
517 __dyncast_result& __result)
const;
520 __do_find_public_src(ptrdiff_t __src2dst,
const void* __obj_ptr,
521 const __class_type_info* __src_type,
522 const void* __sub_ptr)
const;
525 __do_upcast(
const __class_type_info*__dst,
const void*__obj,
526 __upcast_result& __restrict __result)
const;
530 class __vmi_class_type_info :
public __class_type_info
533 unsigned int __flags;
534 unsigned int __base_count;
539 __base_class_type_info __base_info[1];
542 __vmi_class_type_info(
const char* __n,
int ___flags)
543 : __class_type_info(__n), __flags(___flags), __base_count(0) { }
546 ~__vmi_class_type_info();
551 __non_diamond_repeat_mask = 0x1,
552 __diamond_shaped_mask = 0x2,
553 __flags_unknown_mask = 0x10
559 __do_dyncast(ptrdiff_t __src2dst, __sub_kind __access_path,
560 const __class_type_info* __dst_type,
const void* __obj_ptr,
561 const __class_type_info* __src_type,
const void* __src_ptr,
562 __dyncast_result& __result)
const;
565 __do_find_public_src(ptrdiff_t __src2dst,
const void* __obj_ptr,
566 const __class_type_info* __src_type,
567 const void* __src_ptr)
const;
570 __do_upcast(
const __class_type_info* __dst,
const void* __obj,
571 __upcast_result& __restrict __result)
const;
575 struct __cxa_exception;
576 struct __cxa_refcounted_exception;
577 struct __cxa_dependent_exception;
578 struct __cxa_eh_globals;
591 __dynamic_cast(
const void* __src_ptr,
592 const __class_type_info* __src_type,
593 const __class_type_info* __dst_type,
594 ptrdiff_t __src2dst);
604 __cxa_get_globals() _GLIBCXX_NOTHROW __attribute__ ((__const__));
607 __cxa_get_globals_fast() _GLIBCXX_NOTHROW __attribute__ ((__const__));
611 __cxa_free_exception(
void*) _GLIBCXX_NOTHROW;
615 __cxa_throw(
void*,
std::type_info*,
void (_GLIBCXX_CDTOR_CALLABI *) (
void *))
616 __attribute__((__noreturn__));
620 __cxa_get_exception_ptr(
void*) _GLIBCXX_NOTHROW __attribute__ ((__pure__));
623 __cxa_begin_catch(
void*) _GLIBCXX_NOTHROW;
629 __cxa_rethrow() __attribute__((__noreturn__));
634 __cxa_current_exception_type() _GLIBCXX_NOTHROW __attribute__ ((__pure__));
639 __cxa_dependent_exception*
640 __cxa_allocate_dependent_exception() _GLIBCXX_NOTHROW;
644 __cxa_free_dependent_exception(__cxa_dependent_exception*) _GLIBCXX_NOTHROW;
650 class __foreign_exception
652 virtual ~__foreign_exception() throw();
653 virtual
void __pure_dummy() = 0;
701 #endif // __cplusplus 703 #pragma GCC visibility pop Exception thrown by __cxa_guard_acquire.6.7[stmt.dcl]/4: If control re-enters the declaration (recurs...
ISO C++ entities toplevel namespace is std.
Base class for all library exceptions.
GNU extensions for public use.