Unary minus operators
Declared in <bsls_timeinterval.h>
Return a TimeInterval value that is the negative of the specified rhs time interval. The behavior is undefined unless LLONG_MIN != rhs.seconds().
bsls::TimeInterval
operator-(TimeInterval const& rhs);
» more...
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 difference between the specified lhs and rhs intervals.
bsls::TimeInterval
operator-(
TimeInterval const& lhs,
TimeInterval const& rhs);
» more...
rhslhs and rhs as a TimeInterval| Name | Description |
|---|---|
| rhs | right-hand time interval |
| lhs | left-hand seconds as double |