"er" <erwann.rogard@gmail.com> wrote in message news:1190318013.873251.147780@57g2000hsv.googlegroups.com...
> hi,
>
> what if i have
> class B{public: virtual void f()const=0;};
> class D0: public B{/*empty */};
> class D1: public B{/*empty */};
>
> is the execution of f slower for
> class A: public D0{public: virtual void f()const;}
> than it is for
> class A: public B{public: virtual void f()const;}
> given that their implementations for f are the same?
>
[snip]
Look at
http://article.gmane.org/gmane.comp.lang.c++.perfometer/66
--
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn