Skip to content

calendar.h ~ calendar ~ divide

Baptiste Thémine edited this page Aug 11, 2020 · 1 revision
constexpr clock_type divide(const clock_type &left, const clock_type &right) noexcept;

Description

Division operation on clock_type.

Parameters

(Mandatory)

  • left
  • rigth

Return value

If left and right are different than CLOCK_NAN and right is non null, then returns left/right else returns CLOCK_NAN.

Exceptions

Never throws exception.

See also

Clone this wiki locally