[Development] QTime microsecond support

Иван Комиссаров abbapoh at gmail.com
Thu Oct 15 15:38:02 CEST 2015


It's hardly to create more non-intuitive API than std::chrono...

2015-10-15 17:41 GMT+03:00 Marc Mutz <marc.mutz at kdab.com>:

> On Thursday 15 October 2015 14:50:10 Mathias Hasselmann wrote:
> > Plus user defined literals (for hours, minutes, seconds) and adoption in
> > QTimer and friends.
>
> Ah, the old NIH syndrome...
>
> Here's your existing QTimeSpan, with operators and user-defined literals:
> http://en.cppreference.com/w/cpp/chrono
>
> It even interops with non-Qt code!
>
> --
> Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
> KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
> Tel: +49-30-521325470
> KDAB - The Qt Experts
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20151015/180c0efe/attachment.html>


More information about the Development mailing list