Unary plus operators
Synopses
Declared in <absl/numeric/int128.h>
Returns the unary plus of val, which is val unchanged.
constexpr
int128
operator+(int128 val);
Returns the unary plus of val, which is val unchanged.
constexpr
uint128
operator+(uint128 val);
Returns the sum of two durations.
Duration
operator+(
Duration lhs,
Duration rhs);
Returns the time obtained by advancing a time by a duration.
Time
operator+(
Duration lhs,
Time rhs);
Returns the time obtained by advancing a time by a duration.
Time
operator+(
Time lhs,
Duration rhs);
Returns an iterator advanced by d positions.
Iter
operator+(
difference_type d,
Iter i);
Returns the sum of lhs and rhs.
constexpr
int128
operator+(
int128 lhs,
int128 rhs);
Returns the sum of lhs and rhs.
constexpr
uint128
operator+(
uint128 lhs,
uint128 rhs);
Return Value
-
The value of
val. -
The sum
lhs + rhs. -
The time
lhs + rhs. -
The advanced iterator.
Parameters
Name |
Description |
val |
The operand. |
lhs |
The left‐hand duration. |
rhs |
The right‐hand duration. |
d |
Number of positions to advance. |
i |
The iterator to advance. |
Created with MrDocs