Deconstructors can’t throw

You cant throw an exception from a deconstruction method of a class because all destroy methods are noexcept(true).

You may also like...

1 Response

  1. 2020-03-16

    […] can’t throw an exception from deconstruction […]

Leave a Reply

Your email address will not be published. Required fields are marked *