阅读背景:

What algorithms and containers in the C++ 11 STL can go faster if a type is noexcept?

来源:互联网 

A debate came up at work regarding how much to care about using noexcept. We all know that noexcept doesn't really do a huge amount for the compiler's optimiser except for externally defined code which the compiler otherwise has to assume can throw because it can't know its implementation, so the only real other performance benefit of marking things noexcept is for code which makes use of A debate came up at work regarding how much to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: