c++ - What is the rationale for renaming monotonic_clock to steady_clock in <chrono>? -


why did committee rename monotonic_clock steady_clock? vendors providing monotonic_clock backwards compatibility expect monotonic_clock linger while.

it seems bit deprecate in c++0x. ;) edit: committe has right , responsibility rename components best can before release done in case.

i don't see big benefit of rename.

n3128 proposal did , includes rationale:

the implementation of timeout definition depends on steady clock, 1 cannot adjusted. monotonic clock not sufficient. while 1 implicit in standard, below make 1 explicit.

given steady clock, monotonic clock seems of marginal utility, , replace monotonic clock steady clock.

monotonic_clock wasn't deprecated. removed prior standardization. draft standard subject change right until voted fdis. , 1 of changes. living on draft (the bleeding edge) great, 1 must accept risks of doing so.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -