From 9109002201623798369
X-Google-Thread: f78e5,5c479dbbcbdef5b6,start
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 16 Jan 2007 17:30:04 -0600
Return-Path: <devnull@stump.algebra.com>
X-Authentication-Warning: mulga.csse.unimelb.edu.au: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Original-To: std-c++@mailman.ucar.edu
Delivered-To: std-c++@mailman.ucar.edu
From: Michael Norrish <michael.norrish@nicta.com.au>
User-Agent: Thunderbird 1.5.0.8 (X11/20061117)
MIME-Version: 1.0
Newsgroups: comp.std.c++
Subject: Possible DR: implicit destructor bodies not defined
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 150.203.209.223
Message-ID: <45ad5cb9$1@clarion.carno.net.au>
Organization: Australian National University
X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.1.16.145933 internal
X-Virus-Scanned: amavisd-new at ucar.edu
X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au
Date: Tue, 16 Jan 2007 17:25:12 CST
Lines: 19
NNTP-Posting-Host: 65.182.171.162
X-Trace: sv3-lvxCdKMGZOBq3RVy/kYW/12yP/fI4/Lzf9kr94WLQQgfCoPNfanwpEGiMChOA7h9Hbxe1SuZfCCyN6+!kJQfzd74hOli6yQWiJIAOrNDY6clXrYTxM7ghjjP1irH+wML5TlfRh5MegqdaX/iLtBzDc0bHGOQ!tcRoRx2J8Q9qqg==
X-Complaints-To: abuse@speakeasy.net
X-DMCA-Complaints-To: abuse@speakeasy.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32
Xref: g2news2.google.com comp.std.c++:5372

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                      ]



