Topic: Possible DR: implicit destructor bodies not defined
Author: Michael Norrish <michael.norrish@nicta.com.au>
Date: Tue, 16 Jan 2007 17:25:12 CST Raw View
In 12.1 para 7, the body of an implicitly defined default constructor
is specified. In 12.8 para 8, the action of an implicitly defined
copy constructor is specified. In 12.8 para 13, the action of an
implicitly defined copy assignment operator is specified.
The analogous description of implicitly defined destructors might
plausibly appear immediately after 12.4 but there is nothing there.
Presumably it should be that an implicitly defined destructor has an
empty body (and not, for example, calls to delete on any pointer
members...)
Michael.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ]