std::deque move constructor

Jonathan Wakely jwakely.gcc@gmail.com
Mon Aug 21 22:05:00 GMT 2017


On 21 August 2017 at 22:42, Avi Kivity wrote:
> That is excellent, thanks. Is it legal for a standard specified function to
> be more noexcept than the standard? After all, it can change the behavior of
> a program.

Yes it's legal. https://wg21.link/res.on.exception.handling#5

We add noexcept liberally where it isn't specified by the standard
(but only in places that really can't throw).



More information about the Gcc-help mailing list