The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.fortran
From: Wolfgang Kilian <see...@domain.invalid>
Date: Tue, 28 Aug 2012 11:44:47 +0200
Local: Tues, Aug 28 2012 5:44 am
Subject: Re: Function questions?
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 > (snip)
> 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 to
Final 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.
| ||||||||||||||