[Exceptional C++ Style] Item 18 - Virtuality

James Dennett jdennett at acm.org
Tue Jan 4 08:45:35 EST 2005


On Tuesday, January 4, 2005, at 04:41 AM, Jon Jagger wrote:

>
> You'll probably not be surprised to learn that I disagree with the 
> advice Herb gives on this.
> Does anyone else have strong misgivings about it too?
> Cheers
> JJ
>
I find what Herb says to be persuasive, in the small.  I don't apply it.
It doesn't seem to be an improvement in any of my actual code,
where most commonly virtual functions pop out of interface classes,
which are (most commonly) used as public bases.

-- James




More information about the Effective-cpp mailing list