From Jason Turner

[type.index.members]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp713o3xhg/{from.md → to.md} +0 -63
tmp/tmp713o3xhg/{from.md → to.md} RENAMED
@@ -1,63 +0,0 @@
1
- ### `type_index` members <a id="type.index.members">[[type.index.members]]</a>
2
-
3
- ``` cpp
4
- type_index(const type_info& rhs) noexcept;
5
- ```
6
-
7
- *Effects:* Constructs a `type_index` object, the equivalent of
8
- `target = &rhs`.
9
-
10
- ``` cpp
11
- bool operator==(const type_index& rhs) const noexcept;
12
- ```
13
-
14
- *Returns:* `*target == *rhs.target`.
15
-
16
- ``` cpp
17
- bool operator<(const type_index& rhs) const noexcept;
18
- ```
19
-
20
- *Returns:* `target->before(*rhs.target)`.
21
-
22
- ``` cpp
23
- bool operator>(const type_index& rhs) const noexcept;
24
- ```
25
-
26
- *Returns:* `rhs.target->before(*target)`.
27
-
28
- ``` cpp
29
- bool operator<=(const type_index& rhs) const noexcept;
30
- ```
31
-
32
- *Returns:* `!rhs.target->before(*target)`.
33
-
34
- ``` cpp
35
- bool operator>=(const type_index& rhs) const noexcept;
36
- ```
37
-
38
- *Returns:* `!target->before(*rhs.target)`.
39
-
40
- ``` cpp
41
- strong_ordering operator<=>(const type_index& rhs) const noexcept;
42
- ```
43
-
44
- *Effects:* Equivalent to:
45
-
46
- ``` cpp
47
- if (*target == *rhs.target) return strong_ordering::equal;
48
- if (target->before(*rhs.target)) return strong_ordering::less;
49
- return strong_ordering::greater;
50
- ```
51
-
52
- ``` cpp
53
- size_t hash_code() const noexcept;
54
- ```
55
-
56
- *Returns:* `target->hash_code()`.
57
-
58
- ``` cpp
59
- const char* name() const noexcept;
60
- ```
61
-
62
- *Returns:* `target->name()`.
63
-