BloombergLP::bdlt::operator<

Return true if timetable transition lhs is less than rhs.

Synopsis

Declared in <bdlt_timetable.h>

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

Description

Return true if the specified lhs has a value less than the specified rhs, and false otherwise. Timetable transition lhs has a value less than timetable transition rhs if lhs.datetime() < rhs.datetime(), or lhs.datetime() == rhs.datetime() and lhs.code() < rhs.code().

Return Value

true if lhs is less than rhs

Parameters

NameDescription
lhsfirst timetable transition
rhssecond timetable transition