Topic: implementation of virtual virtuals (specification in C++ PL 3rd)


Author: James Kuyper <kuyper@wizard.net>
Date: 1999/06/03
Raw View
fysx wrote:
>
> Hey,
>     Can anyone point out where in "C++ The Programming Language - 3rd
> Edition" it states that virtual function implementation can be compiler
> dependant?

Section 2.5.5, page 36 says: "A common implementation ..." and goes on
to describe virtual function table pointers. This wording implies that
there are other implementations.

The fact that the virtual function implementation can be compiler
dependent follows automatically from the fact that the C++ standard
doesn't define it. Whether Stroustrup bothered to explicitly mention the
fact in his book is irrelevant.
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]





Author: fysx <fysx@spots.ab.ca>
Date: 1999/06/03
Raw View
Hey,
    Can anyone point out where in "C++ The Programming Language - 3rd
Edition" it states that virtual function implementation can be compiler
dependant?

Maxwell Sayles
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]