Not able to create a constructor in the .cpp file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



~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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux