Not able to create a constructor in the .cpp file

Arthur Schwarz aschwarz1309@att.net
Wed Jul 25 22:12:00 GMT 2012


~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.



More information about the Gcc-help mailing list