Unary minus operators
Declared in <absl/numeric/int128.h>
Returns the negation of a duration.
constexpr
Duration
operator-(Duration d);
» more...
Returns the arithmetic negation of v.
constexpr
int128
operator-(int128 v);
» more...
Returns the arithmetic negation of val.
constexpr
uint128
operator-(uint128 val);
» more...
Returns the difference of two durations.
Duration
operator-(
Duration lhs,
Duration rhs);
» more...
Returns the time obtained by moving a time back by a duration.
Time
operator-(
Time lhs,
Duration rhs);
» more...
Returns the duration between two times.
Duration
operator-(
Time lhs,
Time rhs);
» more...
Returns the difference of lhs and rhs.
constexpr
int128
operator-(
int128 lhs,
int128 rhs);
» more...
Returns the difference of lhs and rhs.
constexpr
uint128
operator-(
uint128 lhs,
uint128 rhs);
» more...
-v.val.lhs - rhs.lhs - rhs.lhs - rhs.| Name | Description |
|---|---|
| d | The duration to negate. |
| v | The operand. |
| val | The operand. |
| lhs | The left-hand duration. |
| rhs | The right-hand duration. |