Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #19074
| From | Juha Nieminen <nospam@thanks.invalid> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Non virtual and inheritance |
| Date | 2012-10-19 09:41 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <k5r794$cmd$2@speranza.aioe.org> (permalink) |
| References | <k5oqnl$slk$1@speranza.aioe.org> |
Sensei <sensei_s_mail_is_at@me.com> wrote: > Why is a member function non-virtual by default, even from an > historically accurate point of view? The design principle of C++ has always been "you don't pay for what you don't use." A class having virtual functions is larger than a class with no virtual functions, and in some cases that might matter. (Also, virtuality may impede or reduce the effectiveness of function inlining.)
Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread
Non virtual and inheritance Sensei <sensei_s_mail_is_at@me.com> - 2012-10-18 13:55 +0200
Re: Non virtual and inheritance Nobody <nobody@nowhere.com> - 2012-10-18 13:29 +0100
Re: Non virtual and inheritance Juha Nieminen <nospam@thanks.invalid> - 2012-10-19 09:39 +0000
Re: Non virtual and inheritance Nobody <nobody@nowhere.com> - 2012-10-19 15:01 +0100
Re: Non virtual and inheritance Juha Nieminen <nospam@thanks.invalid> - 2012-10-19 16:01 +0000
Re: Non virtual and inheritance Rui Maciel <rui.maciel@gmail.com> - 2012-10-18 14:49 +0100
Re: Non virtual and inheritance Luca Risolia <luca.risolia@studio.unibo.it> - 2012-10-18 20:06 +0200
Re: Non virtual and inheritance Paavo Helde <myfirstname@osa.pri.ee> - 2012-10-18 14:40 -0500
Re: Non virtual and inheritance Juha Nieminen <nospam@thanks.invalid> - 2012-10-19 09:41 +0000
csiph-web