Re: std::deque move constructor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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).



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux