
Le 13/09/11 17:05, Beman Dawes a écrit :
"The best is the enemy of the good."
Voltaire's famous bon mot applies to a replacement for Boost.Timer. I've had a "good", although not "best", replacement ready since circa 2006. It has always been set aside waiting for something better. The data-time, std::chrono, boost::chrono, boost::stopwatch, and probably others, were all candidates. I think you are not alone. We are all waiting for a better Boost.Timer :) I'm tired of waiting.
http://beman.github.com/timer/ documents a useful replacement for Boost.Timer. The full library has been in the sandbox for years, but current development is on GitHub.
See https://github.com/Beman/timer
I'd like to move the header into boost/system/pending or boost/system/detail, and the rest into the appropriate libs/system subdirectories. The library will be proposed for a full review, or a mini-review if enough other Boost libraries start using it. If Endian gets accepted, for example, it certainly needs timing benchmarks.
Comments?
Why not in Boost.Timer? How your new library improves Boost.Timer? Best, Vicente