Nesting TYPE (temporary) keyword does not support multi-level inheritance structure

General FreeBASIC programming questions.
speedfixer
Posts: 606
Joined: Nov 28, 2012 1:27
Location: CA, USA moving to WA, USA
Contact:

Re: Nesting TYPE (temporary) keyword does not support multi-level inheritance structure

Post by speedfixer »

@fxm:
"Indeed, for a non-advanced user ..."

Agree. But can we at least have a reference to advanced docs make that distinction clear somewhere?

It would be a shame to already have all this deep knowlege unrecorded.

(Sorry, fxm. I do not mean to lay more work on you or anyone else.)


david
fxm
Moderator
Posts: 12085
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Using TYPE() or BASE() on derived instance, implicit copy/construct only copies data members of topmost base

Post by fxm »

You can find some answers in this old topic of dkl (but I think there may have been some evolution since this one):
Copy construction behaviour
Post Reply