Unary minus operators
Synopses
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);
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 difference between the specified lhs and rhs intervals.
bsls::TimeInterval
operator‐(
TimeInterval const& lhs,
TimeInterval const& rhs);
Return Value
-
the negative of
rhs -
difference of
lhsandrhsas aTimeInterval
Parameters
Name |
Description |
rhs |
right‐hand time interval |
lhs |
left‐hand seconds as |
Created with MrDocs