Re: Overload problem
- From: "Arjen Markus" <arjen.markus@xxxxxxxxxx>
- Date: 31 Aug 2006 03:08:05 -0700
Richard E Maine schreef:
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.
I just meant whether the pointer attribute of an argument is one of the
criteria, along with type, rank and kind, that is used to characterise
the argument list. Michael's reply is clear about that: it is not.
So there is no way to distinguish subroutines a and b:
module some_module
interface c
module procedure a, b
end interface
contains
subroutine a( p )
integer, pointer :: p
end subroutine
subroutine b( p )
integer :: p
end subroutine
end module
Regards,
Arjen
.
- References:
- Overload problem
- From: leaf
- Re: Overload problem
- From: Arjen Markus
- Re: Overload problem
- From: Richard E Maine
- Overload problem
- Prev by Date: Re: Scope of implied-do index
- Next by Date: Parallel communication - SHMEM / ARMCI
- Previous by thread: Re: Overload problem
- Next by thread: Re: Overload problem
- Index(es):
Relevant Pages
|