This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Not able to create a constructor in the .cpp file
- From: Arthur Schwarz <aschwarz1309 at att dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 25 Jul 2012 15:12:09 -0700 (PDT)
- Subject: Not able to create a constructor in the .cpp file
~SlipSublist::SlipSublist() { } // code in source file
SlipSublist.cpp:29:7: error: invalid use of destructor â~slip::SlipSublistâ as a
type
Any reason a destructor can not be included in the source file? I can't find
what I did wrong(?) and constructors work fine.
Different than Bug 40139.