class
std::type_index
- Header
<typeindex>- Draft
- [type.index]
- Scope
std- cppreference
- std::type_index
Synopsis
class type_index;Member functions
| Name | Declaration |
|---|---|
type_indexconstructor | type_index(const type_info& rhs) |
hash_codemember function | size_t hash_code() const |
namemember function | const char* name() const |
operator==operator | bool operator==(const type_index& rhs) const |
operator<operator | bool operator<(const type_index& rhs) const |
operator<=operator | bool operator<=(const type_index& rhs) const |
operator>operator | bool operator>(const type_index& rhs) const |
operator>=operator | bool operator>=(const type_index& rhs) const |
operator<=>operator | strong_ordering operator<=>(const type_index& rhs) const |