
11 Oct
2011
11 Oct
'11
6:59 p.m.
On Tue, Oct 11, 2011 at 1:48 PM, Stewart, Robert <Robert.Stewart@sig.com> wrote:
Clock::now() noexcept;
20.9.5 doesn't specify noexcept for now(). Should you add that?
Actually it does. It was added at the last meeting, so is only reflected in the final standard and not in the drafts from prior meetings. Also, stuff got moved around so the reference is now 20.11.7, [time.clock] Most code never runs on platforms that don't have functioning clocks, so can ignore the whole problem. Since these platforms are always believed to be freestanding implementations (17.6.1.3 Freestanding implementations), they may not even have a <chrono> header in the standard library implementation. --Beman