Topic: Inherited destructors?


Author: bkline%occs.nlm.nih.gov (Bob Kline Phoenix Contract)
Date: 1995/05/22
Raw View
Paragraph 4 of section 10.3 of the draft standard states:

 "Even if destructors are not inherited, a destructor in a derived class
 overrides a base class destructor declared virtual; see 12.4 and 12.5."

I had been under the impression that destructors are never inherited.
Have I missed something, or should the sentence read, "Even though
destructors ...."?                                          ------

--
/*----------------------------------------------------------------------*/
/* Bob Kline                                       Stream International */
/* bob_kline@stream.com               formerly Corporate Software, Inc. */
/* voice: (703) 522-0820 x-311                      fax: (703) 522-5407 */
/*----------------------------------------------------------------------*/