C++ check type of object code example Example: get type of an object c++ //get type of a typeid(a).name()