Equality operators

Synopses

Declared in <bsls_timeinterval.h>

Return true if the specified lhs and rhs intervals are equal.

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

Same as the preceding overload.

bool
operator==(
    TimeInterval const& lhs,
    double rhs);

Same as the preceding overload.

bool
operator==(
    double lhs,
    TimeInterval const& rhs);

Return Value

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

Parameters

Name

Description

lhs

left‐hand time interval

rhs

right‐hand time interval

Created with MrDocs