Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-116876

Document QElapsedTimer::Duration, QElapsedTimer::TimePoint

XMLWordPrintable

    • 3fbcf5382 (dev), 046ea6b70 (6.6)

      QElapsedTimer::Duration, QElapsedTimer::TimePoint are declared in code to be the same as std::chrono::nanoseconds, std::chrono::time_point<std::chrono::steady_clock, Duration>:

          using Duration = std::chrono::nanoseconds;
          using TimePoint = std::chrono::time_point<std::chrono::steady_clock, Duration>;
      

      Anyhow, in the documentation that is documented only very indirectly: https://doc-snapshots.qt.io/qt6-6.6/qelapsedtimer.html . We should make this more explicit.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            docteam Qt Documentation Team
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes