From -4432883502642693672
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,3cdb654b702f7476
X-Google-Attributes: gidf78e5,public
From: "michael" <serrano@ozemail.com.au>
Subject: Re: virtual functions
Date: 2000/08/21
Message-ID: <XfLn5.3006$Vb.76744@ozemail.com.au>#1/1
X-Deja-AN: 660724209
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
References: <399A78E4.8345D7B@gmx.at> <m23dk5jiuq.fsf@brownie.frogger.foobar.snot> <399B8FA6.540D5B7F@gmx.at> <m2hf8jigxk.fsf@brownie.frogger.foobar.snot>
X-Priority: 3
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Trace: mail2news.demon.co.uk 966866783 mail2news:24782 mail2news mail2news.demon.co.uk
Organization: OzEmail Ltd, Australia
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-MSMail-Priority: Normal
NNTP-Posting-Date: Sun, 20 Aug 2000 16:53:43 EST
Newsgroups: comp.std.c++

> It is true only inside constructors *and* destructors. In all other
>   cases, the overriding method of the object's dynamic type is
>   called.

It is true during construction and destruction.
You can't defeat the behaviour by having the ctor forward to a helper.

---
[ 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://reality.sgi.com/austern_mti/std-c++/faq.html              ]




