std::type_index::operator==,!=,<,<=,>,>=,<=>
Min standard notice:
Compares the underlying std::type_info objects.
# Declarations
bool operator==( const type_index& rhs ) const noexcept;
(since C++11)
bool operator!=( const type_index& rhs ) const noexcept;
(since C++11) (until C++20)
bool operator<( const type_index& rhs ) const noexcept;
(since C++11)
bool operator<=( const type_index& rhs ) const noexcept;
(since C++11)
bool operator>( const type_index& rhs ) const noexcept;
(since C++11)
bool operator>=( const type_index& rhs ) const noexcept;
(since C++11)
std::strong_ordering operator<=>( const type_index& rhs ) const noexcept;
(since C++20)
# Parameters
rhs: another type_index object to compare to