Division assignment operators

Synopses

Declared in <absl/time/time.h>

Divides this duration by a floating‐point divisor.

Duration&
operator/=(double r);

Divides this duration by an integer divisor.

Duration&
operator/=(int64_t r);

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

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

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

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

Return Value

A reference to this duration.

Parameters

Name

Description

r

The divisor to divide by.

Created with MrDocs