Less‐than operators

Synopses

Declared in <bsls_timeinterval.h>

Return true if the specified lhs interval is less than rhs.

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 is less than rhs; false otherwise

Parameters

Name

Description

lhs

left‐hand time interval

rhs

right‐hand time interval

Created with MrDocs