std::type_info (3) - Linux Manuals
std::type_info: std::type_info
NAME
std::type_info - std::type_info
Synopsis
Defined in header <typeinfo>
class type_info;
The class type_info holds implementation-specific information about a type, including the name of the type and means to compare two types for equality or collating order. This is the class returned by the typeid operator.
The type_info class is neither CopyConstructible nor CopyAssignable.
Member functions
constructor has neither default nor copy constructors
[deleted]
destructor derived objects are safe to delete through pointer-to-base
[virtual]
operator= can not be copy-assigned
[deleted]
operator== (public member function)
operator!=
before object in the implementation defined order, i.e. orders the referred types
hash_code returns a value which is identical for the same types
(C++11)
name (public member function)
See also
type_index wrapper around a type_info object, that can be used as index in associative and unordered associative containers
(C++11)