You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operator for subtraction or negation of [duration](../standard-library/duration-class.md) and [time_point](../standard-library/time-point-class.md) objects.
@@ -124,7 +117,7 @@ Unless `is_convertible<Rep2, common_type<Rep1, Rep2>>`*holds true*, the first fu
124
117
125
118
Unless `is_convertible<Rep1, common_type<Rep1, Rep2>>`*holds true*, the second function does not participate in overload resolution. For more information, see [<type_traits>](../standard-library/type-traits.md).
126
119
127
-
## <a name="op_div"></a> operator/
120
+
## <a name="op_div"></a> operator/
128
121
129
122
Division operator for [duration](../standard-library/chrono-operators.md#op_star) objects.
@@ -164,7 +157,7 @@ The second operator returns the ratio of the interval lengths of *Left* and *Rig
164
157
165
158
Unless `is_convertible<Rep2, common_type<Rep1, Rep2>>`*holds true*, and `Rep2` is not an instantiation of `duration`, the first operator does not participate in overload resolution. For more information, see [<type_traits>](../standard-library/type-traits.md).
166
159
167
-
## <aname="op_add"></a> operator+
160
+
## <aname="op_add"></a> operator+
168
161
169
162
Adds [duration](../standard-library/duration-class.md) and [time_point](../standard-library/time-point-class.md) objects.
@@ -208,7 +201,7 @@ The first function returns a `duration` object that has a time interval that is
208
201
209
202
The second and third functions return a `time_point` object that represents a point in time that is displaced, by the interval *Dur*, from the point in time *Time*.
210
203
211
-
## <a name="op_lt"></a> operator<
204
+
## <a name="op_lt"></a> operator<
212
205
213
206
Determines whether one [duration](../standard-library/duration-class.md) or [time_point](../standard-library/time-point-class.md) object is less than another `duration` or `time_point` object.
214
207
@@ -226,10 +219,10 @@ constexpr bool operator<(
226
219
227
220
### Parameters
228
221
229
-
*Left*<br/>
222
+
*Left*\
230
223
The left `duration` or `time_point` object.
231
224
232
-
*Right*<br/>
225
+
*Right*\
233
226
The right `duration` or `time_point` object.
234
227
235
228
### Return Value
@@ -238,7 +231,7 @@ The first function returns **true** if the interval length of *Left* is less tha
238
231
239
232
The second function returns **true** if *Left* precedes *Right*. Otherwise, the function returns **false**.
240
233
241
-
## <aname="op_lt_eq"></a> operator<=
234
+
## <aname="op_lt_eq"></a> operator<=
242
235
243
236
Determines whether one [duration](../standard-library/duration-class.md) or [time_point](../standard-library/time-point-class.md) object is less than or equal to another `duration` or `time_point` object.
244
237
@@ -256,17 +249,17 @@ constexpr bool operator<=(
256
249
257
250
### Parameters
258
251
259
-
*Left*<br/>
252
+
*Left*\
260
253
The left `duration` or `time_point` object.
261
254
262
-
*Right*<br/>
255
+
*Right*\
263
256
The right `duration` or `time_point` object.
264
257
265
258
### Return Value
266
259
267
260
Each function returns `!(Right < Left)`.
268
261
269
-
## <a name="op_eq_eq"></a> operator==
262
+
## <a name="op_eq_eq"></a> operator==
270
263
271
264
Determines whether two `duration` objects represent time intervals that have the same length, or whether two `time_point` objects represent the same point in time.
272
265
@@ -284,10 +277,10 @@ constexpr bool operator==(
284
277
285
278
### Parameters
286
279
287
-
*Left*<br/>
280
+
*Left*\
288
281
The left `duration` or `time_point` object.
289
282
290
-
*Right*<br/>
283
+
*Right*\
291
284
The right `duration` or `time_point` object.
292
285
293
286
### Return Value
@@ -296,7 +289,7 @@ The first function returns **true** if *Left* and *Right* represent time interva
296
289
297
290
The second function returns **true** if *Left* and *Right* represent the same point in time. Otherwise, the function returns **false**.
298
291
299
-
## <aname="op_gt"></a> operator>
292
+
## <aname="op_gt"></a> operator>
300
293
301
294
Determines whether one [duration](../standard-library/duration-class.md) or [time_point](../standard-library/time-point-class.md) object is greater than another `duration` or `time_point` object.
302
295
@@ -314,17 +307,17 @@ constexpr bool operator>(
314
307
315
308
### Parameters
316
309
317
-
*Left*<br/>
310
+
*Left*\
318
311
The left `duration` or `time_point` object.
319
312
320
-
*Right*<br/>
313
+
*Right*\
321
314
The right `duration` or `time_point` object.
322
315
323
316
### Return Value
324
317
325
318
Each function returns `Right < Left`.
326
319
327
-
## <a name="op_gt_eq"></a> operator>=
320
+
## <a name="op_gt_eq"></a> operator>=
328
321
329
322
Determines whether one [duration](../standard-library/duration-class.md) or [time_point](../standard-library/time-point-class.md) object is greater than or equal to another `duration` or `time_point` object.
330
323
@@ -342,17 +335,17 @@ constexpr bool operator>=(
342
335
343
336
### Parameters
344
337
345
-
*Left*<br/>
338
+
*Left*\
346
339
The left `duration` or `time_point` object.
347
340
348
-
*Right*<br/>
341
+
*Right*\
349
342
The right `duration` or `time_point` object.
350
343
351
344
### Return Value
352
345
353
346
Each function returns `!(Left < Right)`.
354
347
355
-
## <aname="op_modulo"></a> operator modulo
348
+
## <aname="op_modulo"></a> operator modulo
356
349
357
350
Operator for modulo operations on [duration](../standard-library/duration-class.md) objects.
0 commit comments