absl::Duration::operator/=

Division assignment operators

Synopses

Declared in <absl/time/time.h>

Divides this duration by a floating-point divisor.

Duration&
operator/=(double r);
» more...

Divides this duration by an integer divisor.

Duration&
operator/=(int64_t r);
» more...

Divides this duration by a floating-point divisor, forwarding to the double overload.

template<
    typename T,
    /* implementation-defined */ = 0>
Duration&
operator/=(T r);
» more...

Divides this duration by an integral divisor, forwarding to the int64_t overload.

template<
    typename T,
    /* implementation-defined */ = 0>
Duration&
operator/=(T r);
» more...

Return Value

A reference to this duration.

Parameters

NameDescription
rThe divisor to divide by.