(1) | bool operator== (const type_index& rhs) const noexcept; |
---|---|
(2) | bool operator!= (const type_index& rhs) const noexcept; |
(3) | bool operator< (const type_index& rhs) const noexcept; |
(4) | bool operator<= (const type_index& rhs) const noexcept; |
(5) | bool operator> (const type_index& rhs) const noexcept; |
(6) | bool operator>= (const type_index& rhs) const noexcept; |
==
and !=
), the function uses the same operator directly on the type_info object they refer (see type_info::operator==).true
if the condition holds.false
otherwise.