std::type_index::operator==,!=,<,<=,>,>=,<=>

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