(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; |
==
和 !=
),该函数直接在其引用的 type_info 对象上使用相同的运算符(参见 type_info::operator==)。true
。false
。