search for: is_steady

Displaying 3 results from an estimated 3 matches for "is_steady".

Did you mean: is_ready
2017 May 19
2
noinline changes between 3.8 and 4.0?
...sing tick = ratio<1, 300>; using tick_duration = duration<long, tick>; class ticking_clock { public: using duration = tick_duration; using rep = duration::rep; using period = duration::period; using time_point = time_point<ticking_clock, duration>; static constexpr bool is_steady = true; static time_point now() noexcept; }; void f(long &elapsed_time) { auto start = ticking_clock::now(); this_thread::sleep_for(tick_duration(71)); auto finish = ticking_clock::now(); auto dur = finish - start; elapsed_time = dur.count(); } The functions defined in...
2018 Aug 10
2
[cfe-dev] Filesystem has Landed in Libc++
...using duration = std::chrono::nanoseconds; using rep = duration::rep; using period = duration::period; using time_point = std::chrono::time_point<file_clock>; static constexpr bool is_steady = false; static time_point now(); template<typename Duration> static std::chrono::time_point<std::chrono::system_clock, Duration> to_sys(const std::chrono::time_point<file_clock, Duration>& t) noexcept; template<typename Du...
2018 Jul 27
5
Filesystem has Landed in Libc++
Hi All, I recently committed <filesystem> to trunk. I wanted to bring attention to some quirks it currently has. First, it's been put in a separate library, libc++fs, for now. Users are responsible for linking the library when they use filesystem. Second, it should still not be considered ABI stable. Vendors should be aware of this before shipping it. Hopefully all the standard and