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

2015-10-15 17:41 GMT+03:00 Marc Mutz <marc.m...@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.m...@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@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to