title: How to catch exception from member destructor
body: <p>I wonder whether (and how) it's possible to catch an exception thrown in a member destructor. Example:</p>
  
  <pre><code>#include &lt;exception&gt;
  
  class A
  {
  public:
      ~A() {
          throw std::exception("I give up!");
      }
  };
  
  class B
  {
      A _a;
  public:
      ~B() {
          // How to catch exceptions from member destructors?
      }
  };
  </code></pre>