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__));
196 __cxa_demangle(const
char* __mangled_name,
char* __output_buffer,
197 size_t* __length,
int* __status);
215 __fundamental_type_info(
const char* __n) :
std::type_info(__n) { }
218 ~__fundamental_type_info();
226 __array_type_info(
const char* __n) :
std::type_info(__n) { }
229 ~__array_type_info();
237 __function_type_info(
const char* __n) :
std::type_info(__n) { }
240 ~__function_type_info();
245 __is_function_p()
const;
253 __enum_type_info(
const char* __n) :
std::type_info(__n) { }
263 unsigned int __flags;
267 __pbase_type_info(
const char* __n,
int __quals,
269 :
std::type_info(__n), __flags(__quals), __pointee(__type)
273 ~__pbase_type_info();
279 __volatile_mask = 0x2,
280 __restrict_mask = 0x4,
281 __incomplete_mask = 0x8,
282 __incomplete_class_mask = 0x10,
283 __transaction_safe_mask = 0x20,
284 __noexcept_mask = 0x40
288 __pbase_type_info(
const __pbase_type_info&);
291 operator=(
const __pbase_type_info&);
296 unsigned int __outer)
const;
299 __pointer_catch(
const __pbase_type_info* __thr_type,
void** __thr_obj,
300 unsigned __outer)
const;
303 inline bool __pbase_type_info::
304 __pointer_catch (
const __pbase_type_info *thrown_type,
306 unsigned outer)
const 308 return __pointee->__do_catch (thrown_type->__pointee, thr_obj, outer + 2);
312 class __pointer_type_info :
public __pbase_type_info
316 __pointer_type_info(
const char* __n,
int __quals,
318 : __pbase_type_info (__n, __quals, __type) { }
322 ~__pointer_type_info();
327 __is_pointer_p()
const;
330 __pointer_catch(
const __pbase_type_info* __thr_type,
void** __thr_obj,
331 unsigned __outer)
const;
334 class __class_type_info;
337 class __pointer_to_member_type_info :
public __pbase_type_info
340 __class_type_info* __context;
343 __pointer_to_member_type_info(
const char* __n,
int __quals,
345 __class_type_info* __klass)
346 : __pbase_type_info(__n, __quals, __type), __context(__klass) { }
349 ~__pointer_to_member_type_info();
352 __pointer_to_member_type_info(
const __pointer_to_member_type_info&);
354 __pointer_to_member_type_info&
355 operator=(
const __pointer_to_member_type_info&);
359 __pointer_catch(
const __pbase_type_info* __thr_type,
void** __thr_obj,
360 unsigned __outer)
const;
364 class __base_class_type_info
367 const __class_type_info* __base_type;
368 #ifdef _GLIBCXX_LLP64 369 long long __offset_flags;
374 enum __offset_flags_masks
376 __virtual_mask = 0x1,
384 __is_virtual_p()
const 385 {
return __offset_flags & __virtual_mask; }
388 __is_public_p()
const 389 {
return __offset_flags & __public_mask; }
397 return static_cast<ptrdiff_t
>(__offset_flags) >> __offset_shift;
406 __class_type_info (
const char *__n) : type_info(__n) { }
409 ~__class_type_info ();
429 __contained_virtual_mask = __base_class_type_info::__virtual_mask,
432 __contained_public_mask = __base_class_type_info::__public_mask,
435 __contained_mask = 1 << __base_class_type_info::__hwm_bit,
437 __contained_private = __contained_mask,
438 __contained_public = __contained_mask | __contained_public_mask
441 struct __upcast_result;
442 struct __dyncast_result;
447 __do_upcast(
const __class_type_info* __dst_type,
void**__obj_ptr)
const;
450 __do_catch(
const type_info* __thr_type,
void** __thr_obj,
451 unsigned __outer)
const;
457 __do_upcast(
const __class_type_info* __dst,
const void* __obj,
458 __upcast_result& __restrict __result)
const;
467 __find_public_src(ptrdiff_t __src2dst,
const void* __obj_ptr,
468 const __class_type_info* __src_type,
469 const void* __src_ptr)
const;
479 __do_dyncast(ptrdiff_t __src2dst, __sub_kind __access_path,
480 const __class_type_info* __dst_type,
const void* __obj_ptr,
481 const __class_type_info* __src_type,
const void* __src_ptr,
482 __dyncast_result& __result)
const;
489 __do_find_public_src(ptrdiff_t __src2dst,
const void* __obj_ptr,
490 const __class_type_info* __src_type,
491 const void* __src_ptr)
const;
495 class __si_class_type_info :
public __class_type_info
498 const __class_type_info* __base_type;
501 __si_class_type_info(
const char *__n,
const __class_type_info *
__base)
502 : __class_type_info(__n), __base_type(
__base) { }
505 ~__si_class_type_info();
508 __si_class_type_info(
const __si_class_type_info&);
510 __si_class_type_info&
511 operator=(
const __si_class_type_info&);
515 __do_dyncast(ptrdiff_t __src2dst, __sub_kind __access_path,
516 const __class_type_info* __dst_type,
const void* __obj_ptr,
517 const __class_type_info* __src_type,
const void* __src_ptr,
518 __dyncast_result& __result)
const;
521 __do_find_public_src(ptrdiff_t __src2dst,
const void* __obj_ptr,
522 const __class_type_info* __src_type,
523 const void* __sub_ptr)
const;
526 __do_upcast(
const __class_type_info*__dst,
const void*__obj,
527 __upcast_result& __restrict __result)
const;
531 class __vmi_class_type_info :
public __class_type_info
534 unsigned int __flags;
535 unsigned int __base_count;
540 __base_class_type_info __base_info[1];
543 __vmi_class_type_info(
const char* __n,
int ___flags)
544 : __class_type_info(__n), __flags(___flags), __base_count(0) { }
547 ~__vmi_class_type_info();
552 __non_diamond_repeat_mask = 0x1,
553 __diamond_shaped_mask = 0x2,
554 __flags_unknown_mask = 0x10
560 __do_dyncast(ptrdiff_t __src2dst, __sub_kind __access_path,
561 const __class_type_info* __dst_type,
const void* __obj_ptr,
562 const __class_type_info* __src_type,
const void* __src_ptr,
563 __dyncast_result& __result)
const;
566 __do_find_public_src(ptrdiff_t __src2dst,
const void* __obj_ptr,
567 const __class_type_info* __src_type,
568 const void* __src_ptr)
const;
571 __do_upcast(
const __class_type_info* __dst,
const void* __obj,
572 __upcast_result& __restrict __result)
const;
576 struct __cxa_exception;
577 struct __cxa_refcounted_exception;
578 struct __cxa_dependent_exception;
579 struct __cxa_eh_globals;
592 __dynamic_cast(
const void* __src_ptr,
593 const __class_type_info* __src_type,
594 const __class_type_info* __dst_type,
595 ptrdiff_t __src2dst);
605 __cxa_get_globals() _GLIBCXX_NOTHROW __attribute__ ((__const__));
608 __cxa_get_globals_fast() _GLIBCXX_NOTHROW __attribute__ ((__const__));
612 __cxa_free_exception(
void*) _GLIBCXX_NOTHROW;
616 __cxa_throw(
void*,
std::type_info*,
void (_GLIBCXX_CDTOR_CALLABI *) (
void *))
617 __attribute__((__noreturn__));
621 __cxa_get_exception_ptr(
void*) _GLIBCXX_NOTHROW __attribute__ ((__pure__));
624 __cxa_begin_catch(
void*) _GLIBCXX_NOTHROW;
630 __cxa_rethrow() __attribute__((__noreturn__));
635 __cxa_current_exception_type() _GLIBCXX_NOTHROW __attribute__ ((__pure__));
640 __cxa_dependent_exception*
641 __cxa_allocate_dependent_exception() _GLIBCXX_NOTHROW;
645 __cxa_free_dependent_exception(__cxa_dependent_exception*) _GLIBCXX_NOTHROW;
651 class __foreign_exception
653 virtual ~__foreign_exception() throw();
654 virtual
void __pure_dummy() = 0;
703 #endif // __cplusplus 705 #pragma GCC visibility pop ISO C++ entities toplevel namespace is std.
Base class for all library exceptions.
Exception thrown by __cxa_guard_acquire.C++ 2011 6.7 [stmt.dcl]/4: If control re-enters the declarati...
GNU extensions for public use.
_Iterator __base(_Iterator __it)