Returns whether two durations are equal.

Synopsis

Declared in <absl/time/time.h>

constexpr
bool
operator==(
    Duration lhs,
    Duration rhs);

Return Value

true if lhs equals rhs.

Parameters

Name

Description

lhs

The left‐hand duration.

rhs

The right‐hand duration.

Created with MrDocs