
on Tue Sep 13 2011, Beman Dawes <bdawes-AT-acm.org> wrote:
"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'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?
Only one: if it's a backwards-compatible replacement, skip the review. You own the library. -- Dave Abrahams BoostPro Computing http://www.boostpro.com