-
Notifications
You must be signed in to change notification settings - Fork 0
calendar.h ~ calendar ~ plus
Baptiste Thémine edited this page Aug 11, 2020
·
1 revision
constexpr clock_type plus(const clock_type &left, const clock_type &right) noexcept;
constexpr clock_type plus(const datetime_type &left, const datetime_type &right) noexcept;
Sum operation on clock_type and datetime_type.
(Mandatory)
left
rigth
If left
and right
can be summed without overflow, then returns left+right
else returns CLOCK_NAN
.
If left
and right
are datetime_type, then calendar constraints are taken into account.
Never throws exception.