...
This commit is contained in:
@@ -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()}
|
||||
|
||||
Reference in New Issue
Block a user