BloombergLP::bdlt::operator>

Return true if lhs is later than rhs.

Synopsis

Declared in <bdlt_time.h>

bool
operator>(
    Time const& lhs,
    Time const& rhs);

Description

Return true if the specified lhs time value is greater than the specified rhs time value, and false otherwise. The behavior is undefined unless lhs != Time() and rhs != Time() (i.e., they do not have the, default, value 24:00:00.000000).

Return Value

true if lhs is later than rhs, and false otherwise

Parameters

NameDescription
lhsleft-hand time operand
rhsright-hand time operand