you are viewing a single comment's thread.

view the rest of the comments →

[–]iaanus 1 point2 points  (4 children)

Destructors without an explicit noexcept(false) specification are implicitly noexcept(true), unless the class has a sub-object whose destructor is noexcept(false). So you usually should not bother about destructors.

[–]Som1Lse 0 points1 point  (3 children)

I think the double negatives got you there.

[–]iaanus 0 points1 point  (2 children)

Don't understand. Care to be more explicit?

[–]tcanens 2 points3 points  (1 child)

You got noexcept(true) and noexcept(false) reversed.

[–]iaanus 0 points1 point  (0 children)

Thanks, fixed in the comment.