title: how to call a member function from a destructor
body: <p>I'm doing work for a C++ project, but I want to know how to call a member function from a class/structure within a destructor. The rest of my project is going well, so I just need to know this to be finished with it :)</p>
  
  <pre><code>    ~Drink()
      {
          cout &lt;&lt; "hi";
          cout &lt;&lt; "I want to know how to summon a member function from a destructor.";
      }
  
      int Drink::dailyReport()
      {
          cout &lt;&lt; "This is the member function I want to call from the destructor.";
          cout &lt;&lt; "How would I call this function from the destructor?"
      }
  </code></pre>
  
  <p>Proper syntax and all would be appreciated! Examples of how to call a member function from a destructor would be lovely!</p>