[Patch, fortran-dev] ALLOCATE statements with CLASS variables
Paul Richard Thomas
paul.richard.thomas@gmail.com
Thu Sep 24 16:53:00 GMT 2009
Janus,
> Maybe I will just commit the patch in the attached form today, and
> take care of the remaining problems later.
I think that would be a good idea.
> Other than that, I can think of no real alternative to a full vtable
> implementation (as Paul suggested).
>
> Err, maybe one: Extending our CLASS container, to hold not only
> "$data" and "$vindex", but also an additional field called "$size",
> which would mean 'the size of the $data field'. Question is whether
> we'll need a vtable anyways.
I think that we do need vtables but not before the end of stage 1.
Cheers
Paul
More information about the Fortran
mailing list