On 25/1/2023 0:03, Thiago Macieira wrote:
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.

Not familiar with what Qt already does with std::chrono, but on a first glance it seems like `std::chrono::duration<qint64, std::milli>` will be better for the purpose, no?

_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to