[prog] C++ Inheritance
Jimen Ching
jching at flex.com
Fri May 23 23:22:34 EST 2003
On Fri, 24 May 2003, Elizabeth Barham wrote:
>Linking of C++ code is somewhat of a cryptic art and perhaps in the
>chain of inheritance a call to fstream(int, char *, int) was called?
What most likely happened is that fstream(const char *, int, int) is an
inline that calls the above mentioned constructor. In the C++ world, the
optimization step can change your code in ways you don't expect. It is
both a powerful and a dangerous feature. It's black magic until one
understands how it all works. ;)
--jc
--
Jimen Ching (WH6BRR) jching at flex.com wh6brr at uhm.ampr.org
More information about the Programming
mailing list