Multiplication operators

Synopses

Declared in <absl/numeric/int128.h>

Returns the product of lhs and rhs.

constexpr
int128
operator*(
    int128 lhs,
    int128 rhs);

Returns the product of lhs and rhs.

constexpr
uint128
operator*(
    uint128 lhs,
    uint128 rhs);

Returns the product of a duration and a scalar.

template<typename T>
Duration
operator*(
    Duration lhs,
    T rhs);

Returns the product of a scalar and a duration.

template<typename T>
Duration
operator*(
    T lhs,
    Duration rhs);

Return Value

The product lhs * rhs.

Parameters

Name

Description

lhs

The left‐hand operand.

rhs

The right‐hand operand.

Created with MrDocs