destructor, assignment op, and copy constr in Date
Posted by Gilbert Peffer on Dec 21, 2000; 11:56am
URL: http://quantlib.414.s1.nabble.com/destructor-assignment-op-and-copy-constr-in-Date-tp1646.html
Personally I prefer to always define the operator= and the copy constructor,
independently of the class containing dynamic memory allocation. Also I
wouldn't mind seeing the destructor in every class, although it doesn't do
anything in this particular case. It's just that I got used to these things
when deriving long class trees from ABCs.
Gilbert