BloombergLP::bsls::operator+

Addition operators

Synopses

Declared in <bsls_timeinterval.h>

Same as the preceding overload, converting lhs from double.

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

Same as the preceding overload, converting rhs from double.

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

Return a TimeInterval value that is the sum of the specified lhs and rhs time intervals. The behavior is undefined unless (1) operands of type double can be converted to valid TimeInterval objects, and (2) the resulting time interval can be represented with a 64-bit signed integer.

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