From -3836615229510797251
X-Google-Thread: 7894ca11fe,ca1d48828e7eb066
X-Google-Attributes: gid7894ca11fe,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news2.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 15 Oct 2009 22:20:14 -0500
Return-Path: <cppmods@ruralroute.cs.rpi.edu>
To: (Usenet)
From: Sean Hunt <rideau3@gmail.com>
Newsgroups: comp.std.c++
Subject: Re: Keyword abstract for pure virtual functions in c++0x
Organization: http://groups.google.com
Sender: cppmods@cs.rpi.edu
Approved: stephen.clamage@sun.com
Message-ID: <1f008923-3930-4613-a4b9-1c575d97774a@k13g2000prh.googlegroups.com>
References: <64708d1f-cb87-4e3b-a1c8-845c98490c25@o41g2000yqb.googlegroups.com>
  <06f78e41-2741-4217-9d79-94bd729418d7@f20g2000prn.googlegroups.com>
  <bbf88ecc-b3d1-411d-8244-37d5ae0ba0e7@y21g2000yqn.googlegroups.com>
  <b5bfe751-18ad-4e94-b0cb-cf72efb190f7@r24g2000prf.googlegroups.com>
  <jYmdnfcg9J3wZUnXnZ2dnUVZ8lpi4p2d@bt.com>
Content-Type: text/plain; charset=ISO-8859-1
X-Original-Date: Wed, 14 Oct 2009 18:35:45 -0700 (PDT)
X-Submission-Address: std-c++@netlab.cs.rpi.edu
Date: Thu, 15 Oct 2009 22:15:08 CST
Lines: 20
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-v3RlQ/08HAx7/i+th7eDOcZO2qbMo2WhEfMd/gXMXb/36yRhabiQefhBOxnekRcx50jUJC8D2VPMbTk!M/4VMO6PeuQmmb3mD+xmC/l6rfXUcCZYhTtLa3M9Ipf8mS/Q9ecuijaGEFi7+dPhfxlorlWoYwNs!Hk17ufzOeWbsaY596/BkGnUPd2k=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
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.40
Xref: g2news2.google.com comp.std.c++:1490

On Oct 14, 12:37 pm, Francis Glassborow
<francis.glassbo...@btinternet.com> wrote:
> Of course they notice because of the way that dtors chain together
> which is why you have to define your dtor even if you have declared it
> a pure virtual.

Yes, but because the compiler defines a destructor for you if you
don't provide one, all classes inheriting from it will always provide
a replacement definition, so the pureness of a destructor won't affect
any inheritors.

Sean Hunt


-- 
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]



