+ Reply to Thread
Results 1 to 2 of 2

Thread: Is it safe to throw an exception from destructor?

  1. #1

    Is it safe to throw an exception from destructor?

    In C++, is it safe to throw an exception from destructor?

  2. #2
    Throwing an error from destructor should be avoided.

    You should follow this article by Scott Meyers:
    http://home.ustc.edu.cn/~zixin/More%...EC/MI11_FR.HTM

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts