|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Basic types | |||||||||||||||||||||
| Fixed width integer types(C++11) | |||||||||||||||||||||
| Fixed width floating-point types(C++23) | |||||||||||||||||||||
| |||||||||||||||||||||
| Numeric limits | |||||||||||||||||||||
| C numeric limits interface | |||||||||||||||||||||
| Runtime type information | |||||||||||||||||||||
| |||||||||||||||||||||
| Member functions | ||||
type_index::operator=type_index::operator!=type_index::operator<type_index::operator<=type_index::operator>type_index::operator>=type_index::operator<=> (until C++20)(C++20) | ||||
| Helper classes | ||||
(C++11) |
bool operator==(const type_index& rhs)constnoexcept; | (1) | (since C++11) |
bool operator!=(const type_index& rhs)constnoexcept; | (2) | (since C++11) (until C++20) |
bool operator<(const type_index& rhs)constnoexcept; | (3) | (since C++11) |
bool operator<=(const type_index& rhs)constnoexcept; | (4) | (since C++11) |
bool operator>(const type_index& rhs)constnoexcept; | (5) | (since C++11) |
bool operator>=(const type_index& rhs)constnoexcept; | (6) | (since C++11) |
std::strong_ordering operator<=>(const type_index& rhs)constnoexcept; | (7) | (since C++20) |
Compares the underlyingstd::type_info objects.
The | (since C++20) |
| rhs | - | anothertype_index object to compare to |