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.
bsls::TimeInterval
operator+(
TimeInterval const& lhs,
TimeInterval const& rhs);
Return Value
sum of lhs and rhs as a TimeInterval
Parameters
Name |
Description |
lhs |
left‐hand seconds as |
rhs |
right‐hand time interval |
Created with MrDocs