Path: utzoo!attcan!uunet!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!mips!apple!voder!procase!roger From: roger@procase.UUCP (Roger H. Scott) Newsgroups: comp.lang.c++ Subject: Re: Request for C++ coding "guideli Message-ID: <89@pascal.procase.UUCP> Date: 20 Feb 90 06:35:36 GMT References: <4446@pegasus.ATT.COM> <21000008@inmet> Reply-To: roger@procase.UUCP (Roger H. Scott) Organization: proCASE Corporation, Santa Clara, CA Lines: 13 In article <21000008@inmet> stt@inmet.inmet.com writes: >With regard to multiple copies of "out-lined" inline functions... >... >always emit code for the out-lined version in >the same place that the vtable would be emitted. >... >Of course, there is never *less* than one copy either, Unfortunately this last statement is untrue. Structs/classes with no virtual functions don't have vtbls - where do their outlined inlines go? Here we have yet more evidence that structs should have been left alone as they are in C and classes should have been gotten all the goodies, including default virtual functions.