Skip to content

calendar.h ~ calendar ~ modulo

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

Description

Modulo 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