This commit is contained in:
2025-09-10 18:07:22 +03:00
parent 00354d9b41
commit ab49f927fb
10 changed files with 154 additions and 27 deletions

View File

@@ -13,11 +13,13 @@ namespace mcc
{
/* DEFAULT TIME POINT CLASS */
/* DEFAULT TIME-RELATED CLASSES */
typedef std::chrono::system_clock::time_point MccTimePoint;
typedef std::chrono::duration<double> MccTimeDuration; // seconds as floating-point value
template <traits::mcc_time_duration_c DT>
static constexpr DT mcc_infinite_duration_v =
std::floating_point<typename DT::rep> ? DT{std::numeric_limits<typename DT::rep>::infinity()}