|
Boost : |
Subject: Re: [boost] [chrono][system] Make possible to don't provide hybrid error handling.
From: Beman Dawes (bdawes_at_[hidden])
Date: 2011-10-11 14:59:50
On Tue, Oct 11, 2011 at 1:48 PM, Stewart, Robert <Robert.Stewart_at_[hidden]> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk