#include <typeinfo>
Inherited by __cxxabiv1::__array_type_info, __cxxabiv1::__class_type_info, __cxxabiv1::__enum_type_info, __cxxabiv1::__function_type_info, __cxxabiv1::__fundamental_type_info, and __cxxabiv1::__pbase_type_info.
Part of RTTI.
The type_info
class describes type information generated by an implementation.
Definition at line 91 of file typeinfo.
◆ ~type_info()
virtual std::type_info::~type_info |
( |
| ) |
|
|
virtual |
Destructor first. Being the first non-inline virtual function, this controls in which translation unit the vtable is emitted. The compiler makes use of that information to know where to emit the runtime-mandated type_info structures in the new-abi.
◆ type_info()
std::type_info::type_info |
( |
const char * |
__n | ) |
|
|
inlineexplicitprotected |
◆ before()
Returns true if *this
precedes __arg
in the implementation's collation order.
◆ hash_code()
size_t std::type_info::hash_code |
( |
| ) |
const |
|
inlinenoexcept |
◆ name()
const char * std::type_info::name |
( |
| ) |
const |
|
inlinenoexcept |
Returns an implementation-defined byte string; this is not portable between compilers!
Definition at line 102 of file typeinfo.
◆ __name
const char* std::type_info::__name |
|
protected |
The documentation for this class was generated from the following file: