This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]