BloombergLP::bdlt::operator<

Return true if lhs daily timetable is less than rhs.

Synopsis

Declared in <bdlt_timetable.h>

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

Description

Return true if the specified lhs daily timetable is less than the specified rhs daily timetable, and false otherwise. The lhs daily timetable is less than the rhs daily timetable if lhs.initialTransitionCode() < rhs.initialTransitionCode(), or lhs.initialTransitionCode() == rhs.initialTransitionCode() and lhs.d_transitions < rhs.d_transitions.

Return Value

true if lhs is less than rhs

Parameters

NameDescription
lhsfirst daily timetable
rhssecond daily timetable