CelestialCalendar 1.0.0 · unreleased development @ 67a7c4c79a4a4a6aa7e703c9e6f0039ae34bee82
Loading...
Searching...
No Matches
calendar::IsDuration Concept Reference

Checks if a type is of std::chrono::duration. More...

#include <datetime.hpp>

Concept definition

template<typename T>
concept calendar::IsDuration = requires {
typename T::rep;
typename T::period;
}
Checks if a type is of std::chrono::duration.
Definition datetime.hpp:58

Detailed Description

Checks if a type is of std::chrono::duration.

Template Parameters
TThe type to check.