Answer by Kerrek SB for Is the default Move constructor defined as noexcept?
I think the answer is 15.4/14 (Exception specifications):An inheriting constructor (12.9) and an implicitly declared special member function (Clause 12) have an exception-specification. If f is an...
View ArticleIs the default Move constructor defined as noexcept?
It seems that a vector will check if the move constructor is labeled as noexcept before deciding on whether to move or copy elements when reallocating. Is the default move constructor defined as...
View Article
More Pages to Explore .....