From Jason Turner

[time.point.comparisons]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpjr4hyxqn/{from.md → to.md} +12 -6
tmp/tmpjr4hyxqn/{from.md → to.md} RENAMED
@@ -1,44 +1,50 @@
1
  #### `time_point` comparisons <a id="time.point.comparisons">[[time.point.comparisons]]</a>
2
 
3
  ``` cpp
4
  template <class Clock, class Duration1, class Duration2>
5
- constexpr bool operator==(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
 
6
  ```
7
 
8
  *Returns:* `lhs.time_since_epoch() == rhs.time_since_epoch()`.
9
 
10
  ``` cpp
11
  template <class Clock, class Duration1, class Duration2>
12
- constexpr bool operator!=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
 
13
  ```
14
 
15
  *Returns:* `!(lhs == rhs)`.
16
 
17
  ``` cpp
18
  template <class Clock, class Duration1, class Duration2>
19
- constexpr bool operator<(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
 
20
  ```
21
 
22
  *Returns:* `lhs.time_since_epoch() < rhs.time_since_epoch()`.
23
 
24
  ``` cpp
25
  template <class Clock, class Duration1, class Duration2>
26
- constexpr bool operator<=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
 
27
  ```
28
 
29
  *Returns:* `!(rhs < lhs)`.
30
 
31
  ``` cpp
32
  template <class Clock, class Duration1, class Duration2>
33
- constexpr bool operator>(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
 
34
  ```
35
 
36
  *Returns:* `rhs < lhs`.
37
 
38
  ``` cpp
39
  template <class Clock, class Duration1, class Duration2>
40
- constexpr bool operator>=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
 
41
  ```
42
 
43
  *Returns:* `!(lhs < rhs)`.
44
 
 
1
  #### `time_point` comparisons <a id="time.point.comparisons">[[time.point.comparisons]]</a>
2
 
3
  ``` cpp
4
  template <class Clock, class Duration1, class Duration2>
5
+ constexpr bool operator==(const time_point<Clock, Duration1>& lhs,
6
+ const time_point<Clock, Duration2>& rhs);
7
  ```
8
 
9
  *Returns:* `lhs.time_since_epoch() == rhs.time_since_epoch()`.
10
 
11
  ``` cpp
12
  template <class Clock, class Duration1, class Duration2>
13
+ constexpr bool operator!=(const time_point<Clock, Duration1>& lhs,
14
+ const time_point<Clock, Duration2>& rhs);
15
  ```
16
 
17
  *Returns:* `!(lhs == rhs)`.
18
 
19
  ``` cpp
20
  template <class Clock, class Duration1, class Duration2>
21
+ constexpr bool operator<(const time_point<Clock, Duration1>& lhs,
22
+ const time_point<Clock, Duration2>& rhs);
23
  ```
24
 
25
  *Returns:* `lhs.time_since_epoch() < rhs.time_since_epoch()`.
26
 
27
  ``` cpp
28
  template <class Clock, class Duration1, class Duration2>
29
+ constexpr bool operator<=(const time_point<Clock, Duration1>& lhs,
30
+ const time_point<Clock, Duration2>& rhs);
31
  ```
32
 
33
  *Returns:* `!(rhs < lhs)`.
34
 
35
  ``` cpp
36
  template <class Clock, class Duration1, class Duration2>
37
+ constexpr bool operator>(const time_point<Clock, Duration1>& lhs,
38
+ const time_point<Clock, Duration2>& rhs);
39
  ```
40
 
41
  *Returns:* `rhs < lhs`.
42
 
43
  ``` cpp
44
  template <class Clock, class Duration1, class Duration2>
45
+ constexpr bool operator>=(const time_point<Clock, Duration1>& lhs,
46
+ const time_point<Clock, Duration2>& rhs);
47
  ```
48
 
49
  *Returns:* `!(lhs < rhs)`.
50