[#absl-operator_plus-0a] = xref:absl.adoc[absl]::operator+ :relfileprefix: ../ :mrdocs: Unary plus operators == Synopses Declared in `<absl/numeric/int128.h>` Returns the unary plus of `val`, which is `val` unchanged. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:absl/int128.adoc[int128] xref:absl/operator_plus-0f.adoc[operator+](xref:absl/int128.adoc[int128] val); ---- [.small]#xref:absl/operator_plus-0f.adoc[_» more..._]# Returns the unary plus of `val`, which is `val` unchanged. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:absl/uint128.adoc[uint128] xref:absl/operator_plus-00.adoc[operator+](xref:absl/uint128.adoc[uint128] val); ---- [.small]#xref:absl/operator_plus-00.adoc[_» more..._]# Returns the sum of two durations. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/Duration.adoc[Duration] xref:absl/operator_plus-0c.adoc[operator+]( xref:absl/Duration.adoc[Duration] lhs, xref:absl/Duration.adoc[Duration] rhs); ---- [.small]#xref:absl/operator_plus-0c.adoc[_» more..._]# Returns the time obtained by advancing a time by a duration. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/Time.adoc[Time] xref:absl/operator_plus-04.adoc[operator+]( xref:absl/Duration.adoc[Duration] lhs, xref:absl/Time.adoc[Time] rhs); ---- [.small]#xref:absl/operator_plus-04.adoc[_» more..._]# Returns the time obtained by advancing a time by a duration. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/Time.adoc[Time] xref:absl/operator_plus-0b.adoc[operator+]( xref:absl/Time.adoc[Time] lhs, xref:absl/Duration.adoc[Duration] rhs); ---- [.small]#xref:absl/operator_plus-0b.adoc[_» more..._]# Returns an iterator advanced by `d` positions. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Iter xref:absl/operator_plus-0e.adoc[operator+]( xref:absl/AnySpan/IteratorBase/difference_type.adoc[difference_type] d, Iter i); ---- [.small]#xref:absl/operator_plus-0e.adoc[_» more..._]# Returns the sum of `lhs` and `rhs`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:absl/int128.adoc[int128] xref:absl/operator_plus-08.adoc[operator+]( xref:absl/int128.adoc[int128] lhs, xref:absl/int128.adoc[int128] rhs); ---- [.small]#xref:absl/operator_plus-08.adoc[_» more..._]# Returns the sum of `lhs` and `rhs`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:absl/uint128.adoc[uint128] xref:absl/operator_plus-07.adoc[operator+]( xref:absl/uint128.adoc[uint128] lhs, xref:absl/uint128.adoc[uint128] rhs); ---- [.small]#xref:absl/operator_plus-07.adoc[_» more..._]# == Return Value * The value of `val`. * The sum `lhs + rhs`. * The time `lhs + rhs`. * The advanced iterator. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#