[geeks] YAC++Q
Joshua D Boyd
jdboyd at cs.millersville.edu
Thu Sep 12 14:29:06 CDT 2002
Yes, that's right! It time for Yet Another C++ Question. That show
where Joshua D. Boyd asks a question, and people who were actually
taught something about C++ give him an answer, or at least an industry
best current practice.
Today's warning is:
warning: `class PhotonMap<Photon>' has virtual functions but non-virtual destructor
The destructor is
~PhotonMap() { };
Anyone know of any reason why this destructor shouldn't be virtual also?
--
Joshua D. Boyd
More information about the geeks
mailing list