BloombergLP::bsls::operator+

Addition operators

Synopses

Declared in <bsls_timeinterval.h>

Same as the preceding overload.

bsls::TimeInterval
operator+(
    double lhs,
    TimeInterval const& rhs);
» more...

Same as the preceding overload.

bsls::TimeInterval
operator+(
    TimeInterval const& lhs,
    double rhs);
» more...

Return the sum of the specified lhs and rhs time intervals.

bsls::TimeInterval
operator+(
    TimeInterval const& lhs,
    TimeInterval const& rhs);
» more...

Return Value

sum of lhs and rhs as a TimeInterval

Parameters

NameDescription
lhsleft-hand seconds as double
rhsright-hand time interval