[#absl-operator_plus-0a]
= xref:absl.adoc[absl]::operator&plus;
:relfileprefix: ../
:mrdocs:

Unary plus operators

== Synopses

Declared in `&lt;absl&sol;numeric&sol;int128&period;h&gt;`

Returns the unary plus of `val`, which is `val` unchanged&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/int128.adoc[int128]
xref:absl/operator_plus-0f.adoc[operator&plus;](xref:absl/int128.adoc[int128] val);
----

[.small]#xref:absl/operator_plus-0f.adoc[_» more&period;&period;&period;_]#

Returns the unary plus of `val`, which is `val` unchanged&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/uint128.adoc[uint128]
xref:absl/operator_plus-00.adoc[operator&plus;](xref:absl/uint128.adoc[uint128] val);
----

[.small]#xref:absl/operator_plus-00.adoc[_» more&period;&period;&period;_]#

Returns the sum of two durations&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/Duration.adoc[Duration]
xref:absl/operator_plus-0c.adoc[operator&plus;](
    xref:absl/Duration.adoc[Duration] lhs,
    xref:absl/Duration.adoc[Duration] rhs);
----

[.small]#xref:absl/operator_plus-0c.adoc[_» more&period;&period;&period;_]#

Returns the time obtained by advancing a time by a duration&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/Time.adoc[Time]
xref:absl/operator_plus-04.adoc[operator&plus;](
    xref:absl/Duration.adoc[Duration] lhs,
    xref:absl/Time.adoc[Time] rhs);
----

[.small]#xref:absl/operator_plus-04.adoc[_» more&period;&period;&period;_]#

Returns the time obtained by advancing a time by a duration&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/Time.adoc[Time]
xref:absl/operator_plus-0b.adoc[operator&plus;](
    xref:absl/Time.adoc[Time] lhs,
    xref:absl/Duration.adoc[Duration] rhs);
----

[.small]#xref:absl/operator_plus-0b.adoc[_» more&period;&period;&period;_]#

Returns an iterator advanced by `d` positions&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Iter
xref:absl/operator_plus-0e.adoc[operator&plus;](
    difference&lowbar;type d,
    Iter i);
----

[.small]#xref:absl/operator_plus-0e.adoc[_» more&period;&period;&period;_]#

Returns the sum of `lhs` and `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/int128.adoc[int128]
xref:absl/operator_plus-08.adoc[operator&plus;](
    xref:absl/int128.adoc[int128] lhs,
    xref:absl/int128.adoc[int128] rhs);
----

[.small]#xref:absl/operator_plus-08.adoc[_» more&period;&period;&period;_]#

Returns the sum of `lhs` and `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/uint128.adoc[uint128]
xref:absl/operator_plus-07.adoc[operator&plus;](
    xref:absl/uint128.adoc[uint128] lhs,
    xref:absl/uint128.adoc[uint128] rhs);
----

[.small]#xref:absl/operator_plus-07.adoc[_» more&period;&period;&period;_]#

== Return Value

* The value of `val`&period;
* The sum `lhs &plus; rhs`&period;
* The time `lhs &plus; rhs`&period;
* The advanced iterator&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *val*
| The operand&period;
| *lhs*
| The left&hyphen;hand duration&period;
| *rhs*
| The right&hyphen;hand duration&period;
| *d*
| Number of positions to advance&period;
| *i*
| The iterator to advance&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
