typeid

C/C++ Reference

typeid
Syntax:
  typeid( object );

The typeid operator returns a reference to a type_info object that describes `object`.