[OpenWalnut-Dev] Virtual Destructor

Sebastian Eichelbaum eichelbaum at informatik.uni-leipzig.de
Thu May 27 11:58:13 CEST 2010


Hi List

We should explicitly ensure that all our destructors are virtual. Of course it is only needed if the class is a base of another one but by explicitly making them virtual, we ensure that nobody forgets to make it virtual if he derives from a class with non virtual destructor.

Use the following grep command: grep -r "^[[:space:]]\+~" .

Bye
Sebastian

-- 
Dipl.-Inf. Sebastian Eichelbaum
Universität Leipzig
Institut für Informatik
Abteilung Bild- und Signalverarbeitung
PF 100920
D-04009 Leipzig


More information about the OpenWalnut-Dev mailing list