logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

std::type_info - Part of RTTI.

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

                                                    libstdc++                               std::type_info(3cxx)

Constructor & Destructor Documentation

virtualstd::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.

Detailed Description

       Part of RTTI.

       The type_info class describes type information generated by an implementation.

Member Function Documentation

boolstd::type_info::before(consttype_info&__arg)const[noexcept]
       Returns true if *this precedes __arg in the implementation's collation order.

   constchar*std::type_info::name()const[inline],[noexcept]
       Returns an implementation-defined byte string; this is not portable between compilers!

Name

       std::type_info - Part of RTTI.

Synopsis

       #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.

   PublicMemberFunctionsvirtual~type_info ()
       virtual bool __do_catch (const type_info *__thr_type, void **__thr_obj, unsigned __outer) const
       virtual bool __do_upcast (const __cxxabiv1::__class_type_info *__target, void **__obj_ptr) const
       virtual bool __is_function_p () const
       virtual bool __is_pointer_p () const
       bool before (const type_info &__arg) const noexcept
       size_t hash_code () const noexcept
       const char * name () const noexcept
       constexpr bool operator== (const type_info &__arg) const noexcept

   ProtectedMemberFunctionstype_info (const char *__n)

   ProtectedAttributes
       const char * __name

See Also