Declaring refrences /objects in Destructor of a class

Posted by Sachin Chourasiya on Stack Overflow See other posts from Stack Overflow or by Sachin Chourasiya
Published on 2010-03-09T05:43:58Z Indexed on 2010/03/09 5:51 UTC
Read the original article Hit count: 322

Filed under:
|

Does it make any sense of declaring objects or refrences in a destructor of a class in C++?

I mean

class A
{
   A()
   {
   }

  ~A()
   {
      //Declaring refrences or objects  here //
   }
}

© Stack Overflow or respective owner

Related posts about c++

Related posts about destructor