🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.learn.c-c++
Article #549

Re: Will I encounter problems with this?

#549
From: Tom Plunket
Date: Tue, 08 Oct 2002 23:45
12 lines
1598 bytes
Mike K wrote:

> I can't remember what the problem with calling a member function 
> during construction is (if any). It seems this way would be 
> easier to add another variable to a class, without rewriting all 
> the constructors. Please advise.

The problem that you remember is that of calling virtual
functions inside of a constructor.  You may not get the behavior
that you desire.

-tom!
Technical Details
Message-ID: <ner6quc8dbsufr1o6gaia9b3v7t8jbmjph@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!news.supernews.com!not-for-mail
References: <6iJo9.212959$8b1.66337@news01.bloor.is.net.cable.rogers.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109fba,61800715a4dea40c
X-Google-Attributes: gid109fba,public
X-Google-Thread: 10f40d,61800715a4dea40c
X-Google-Attributes: gid10f40d,public
X-Google-Thread: 114592,61800715a4dea40c
X-Google-Attributes: gid114592,public
X-Google-Thread: 102541,61800715a4dea40c
X-Google-Attributes: gid102541,public
X-Google-ArrivalTime: 2002-10-08 16:48:13 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!news.supernews.com!not-for-mail
From: Tom Plunket <tomas@fancy.org>
Newsgroups: alt.comp.lang.learn.c-c++,borland.public.cppbuilder,borland.public.cppbuilder.students,comp.lang.c++
Subject: Re: Will I encounter problems with this?
Date: Tue, 08 Oct 2002 16:45:11 -0700
Organization: Fancy Stuff
Message-ID: <ner6quc8dbsufr1o6gaia9b3v7t8jbmjph@4ax.com>
References: <6iJo9.212959$8b1.66337@news01.bloor.is.net.cable.rogers.com>
X-Newsreader: Forte Agent 1.92/32.572
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@supernews.com
Lines: 12