Subject: Re: [std-proposals] C++20 chrono library can't use max date?
From: Akira Takahashi (faithandbrave_at_[hidden])
Date: 2019-12-26 01:52:12
2019å¹´12æ22æ¥(æ¥) 2:18 Thiago Macieira via Std-Proposals <
> On Saturday, 21 December 2019 05:42:44 PST Andrey Semashev via
> > Time points and durations, at least from the system and steady clocks,
> > are not intended to be used for representing calendar dates, especially
> > not in the far past or future. One of their main use cases is relatively
> > short term timed operations (e.g. various timeouts, operation intervals
> > and scheduling, etc.), meaning that magnitute orders of sub-seconds to
> > seconds are much more prevalent than hours, days or even years. These
> > clocks and associated time points and durations are designed to be
> > efficient for that use case. Choosing e.g. a larger representation type
> > to increase the range would add unneeded performance overhead.
Thanks a lot.
I understand chrono design and purpose.
STD-PROPOSALS list run by firstname.lastname@example.org
Standard Proposals Archives on Google Groups