On 08/28/2012 11:02 AM, glen herrmannsfeldt wrote:
> Wolfgang Kilian<see...@domain.invalid> wrote:And IIRC, Fortran 2008 introduces recursive derived types with
> There are a few things that are much easier with pointers,
ALLOCATABLE components, so pointers will no longer be required for
allocating ordinary lists/trees - hopefully.
> It is not good for a function to return the only pointers toFinal subroutines - which unfortunately are among the last parts of
> something, such that the caller is responsible for deallocating it.
> Returning an element of a linked list or a node of a tree,
> as a pointer, shouldn't be so bad, though. There should be a
> list or tree deallocator, though.
F2003 to be implemented in compilers.
>> Fortunately, with each iteration of the Fortran standard, the number of-- Wolfgang
>> situations where pointers are really necessary decreases rapidly.
> -- glen
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.