Re: Question about virtual
From: JSmith (jsmithmitra_at_yahoo.com)
Date: 10/22/04
- Next message: JSmith: "Re: Question about virtual"
- Previous message: JSmith: "Re: Question about virtual"
- In reply to: Joseph M. Newcomer: "Re: Question about virtual"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 22 Oct 2004 11:10:03 -0700
Thanks Joseph.
"Joseph M. Newcomer" <newcomer@flounder.com> wrote in message
news:gjchn0pbleo27hpv8jpvpp2pff8fo8kec7@4ax.com...
> Since there is no good reason to remove the virtual keyword, why bother?
The problem is
> that if a virtual destructor is assumed by the framework and you remove
the virtual
> keyword, you will get some really nasty behavior.
>
> So leave it alone. It makes no difference as far as anything you should be
concerned about
> should matter.
> joe
>
> On Thu, 21 Oct 2004 12:13:26 -0700, "JSmith" <jsmithmitra@yahoo.com>
wrote:
>
> >Hi,
> >
> >when we use Wizard to create a new class. The destructor is generated as
> >"virtual". Can you please explain why is that ?
> >Will it be a problem if we remove virtual keyword ?
> >
> >thanks,
> >
> >
>
> Joseph M. Newcomer [MVP]
> email: newcomer@flounder.com
> Web: http://www.flounder.com
> MVP Tips: http://www.flounder.com/mvp_tips.htm
- Next message: JSmith: "Re: Question about virtual"
- Previous message: JSmith: "Re: Question about virtual"
- In reply to: Joseph M. Newcomer: "Re: Question about virtual"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|