BloombergLP::bdlt::operator<

Return true if compactable transition lhs is less than time rhs.

Synopsis

Declared in <bdlt_timetable.h>

bool
operator<(
    Timetable_CompactableTransition const& lhs,
    Time const& rhs);

Description

Return true if the specified lhs has a value less than the specified rhs, and false otherwise. Compactable transition lhs has a value less than time rhs if lhs.time() < rhs. The behavior is undefined unless 24 > rhs.hour().

Return Value

true if lhs is less than rhs

Parameters

NameDescription
lhscompactable transition to compare
rhstime to compare