BloombergLP::bsls::operator<

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

Synopsis

Declared in <bsls_timeinterval.h>

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

Description

Return true if the nominal relation between the specified lhs and rhs time interval values holds, and false otherwise. The behavior is undefined unless operands of type double can be converted to valid TimeInterval objects.

Return Value

true if lhs is less than rhs; false otherwise

Parameters

NameDescription
lhsleft-hand time interval
rhsright-hand time interval