Addition operators

Synopses

Declared in <bsls_timeinterval.h>

Same as the preceding overload.

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

Same as the preceding overload.

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

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

Return Value

sum of lhs and rhs as a TimeInterval

Parameters

Name

Description

lhs

left‐hand seconds as double

rhs

right‐hand time interval

Created with MrDocs