Re: Overload problem
- From: nospam@xxxxxxxxxxxxx (Richard E Maine)
- Date: Wed, 30 Aug 2006 09:40:45 -0700
Arjen Markus <arjen.markus@xxxxxxxxxx> wrote:
BTW, the allocatable attribute is not allowed on dummy
arguments, IIRC, unless the compiler allows it as an
extension.
Please note that, while this is literally true of f95, the extension in
question is an formal ISO TR. One might say that it is a formally
standardized extension. Also, the feature is incorporated into the base
language in f2003. I'm aware that there are as yet no f2003 compilers.
I think it important to distinguish between vendor-specific extensions
and ones like this. I certainly agree that it is important to be aware
when one is using any kind of extension; there do still exist f90
compilers that don't yet implement the TR (gfortran, for example, though
I see that the gfortran folk are hard at work on it). But one's
criterion for acceptability of an extension might well be quite
different for vendor-specific extensions vs forward-looking features
from later standards.
I agree with your base points about not being able to use allocatable vs
pointer to disambiguate (though some people have argued for allowing
that - I don't recall whether or not they sold the idea sucessfully for
f2008), and about not needing it anyway for the code shown. It is just
the abovee BTW that I am quibbling with.
I am not quite sure if the pointer attribute should be used to
identify the correct procedure. I expect it is, but others
will be able to confirm this.
I can't follow what you are saying here, so I can neither confirm nor
deny it.
--
Richard Maine | Good judgment comes from experience;
email: my first.last at org.domain| experience comes from bad judgment.
org: nasa, domain: gov | -- Mark Twain
.
- Follow-Ups:
- Re: Overload problem
- From: Arjen Markus
- Re: Overload problem
- References:
- Overload problem
- From: leaf
- Re: Overload problem
- From: Arjen Markus
- Overload problem
- Prev by Date: Re: inquire: unknown whether a file is readable?
- Next by Date: Re: Allocating arrays inside a subroutine.
- Previous by thread: Re: Overload problem
- Next by thread: Re: Overload problem
- Index(es):
Relevant Pages
|