(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
。