GCC do not honor casting when calling constructors from constructors
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Wed Mar 8 09:17:00 GMT 2000
> I'm not sure if this is a bug of gcc or a feature of C++ syntax. Sending
> it in anyway.
Thanks for your bug report. I've put it into GNATS. Out of curiosity:
Why do you want to write such code? If it worked, it would create a
temporary Hvec object, use that to create a temporary Camera2 object,
would destroy the Camera2 object, then destroy the Hvec object. There
is no Java-style constructor delegation in C++.
Regards,
Martin
More information about the Gcc-bugs
mailing list