Return true if the two time objects have the same value.

Synopsis

Declared in <bdlt_time.h>

bool
operator==(
    Time const& lhs,
    Time const& rhs);

Description

Return true if the specified lhs and rhs time objects have the same value, and false otherwise. Two time objects have the same value if each of their corresponding hour, minute, second, millisecond, and microsecond attributes respectively have the same value.

Return Value

true if lhs and rhs have the same value, and false otherwise

Parameters

Name

Description

lhs

left‐hand time operand

rhs

right‐hand time operand

Created with MrDocs