
30 Sep
2011
30 Sep
'11
4:24 p.m.
Le 30/09/11 18:06, Beman Dawes a écrit :
By the way, there was a late change to C++11 to add noexcept to the chrono clock's now() function. Can the Boost.Chrono now() function throw? The timer code assumes it doesn't. I have added already noexcept in the trunk. Now not throws, but as we can have internal errors on the used library. In case of errors now() will assert. I don't know if this is the correct way to manage with this kind of functions.
If you want to manage the possible errors you could use now(ec); Best, Vicente