std::type_info::operator==, std::type_info::operator!=
From cppreference.com
bool operator==( const type_info& rhs ) const; |
||
bool operator!=( const type_info& rhs ) const; |
||
Checks if the objects refer to the same types.
Contents |
[edit] Parameters
rhs | - | another type information object to compare to |
[edit] Return value
true if the comparison operation holds true, false otherwise
[edit] Example
This section is incomplete Reason: no example |
[edit] See also
checks whether the referred type precedes referred type of another type_index object in the implementation defined order, i.e. orders the referred types (public member function) |