operator!=

Compares for inequality.

  bool operator!=(const type_info& rhs) const;
  

Returns true if the objects are not the same type.