[Development] <chrono> first (was: Re: C++20 @ Qt)

Thiago Macieira thiago.macieira at intel.com
Tue Jan 24 17:03:12 CET 2023


On Tuesday, 24 January 2023 00:44:37 PST Marc Mutz via Development wrote:
> On 23.01.23 23:57, Thiago Macieira wrote:
> > static_assert(sizeof(std::chrono::milliseconds::rep) == 8);
> 
> Why == and not >=?

I think we'd want to know if that happened, because a lot of our code will be 
depending on the ± 292 million years limit around the epoch.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5167 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20230124/878d61bb/attachment.bin>


More information about the Development mailing list