(j3.2006) (SC22WG5.3591) Assumed-type and Assumed-rank extensions for C Interop TR.

Bill Long longb
Fri Jul 25 14:31:53 EDT 2008



Jim Xia wrote:
>
> > As before, fell free to solicit input from others not on the WG5 list.
>
> Just some comments
>
> 1.) why not expand assumed-rank to include rank 0, which means a scalar.
This was considered.  I decided against it because the result would be a 
object with the DIMENSION attribute being a scalar.  Currently the 
connection between having the DIMENSION attribute and being an array is 
very strong, and the possible side effects of breaking that seemed not 
worth the gain. But it is a valid point for more discussion.


>
> 3.) I agree with Alex that generic resolution is not an area you want 
> to have this included.
>

The primary focus of this feature is related to argument association.  
To ignore generic resolution in that context would very likely introduce 
ambiguity into the standard.  To disallow a specific interface with a 
type(*) argument from being part of a generic interface removes useful 
functionality.  So, I think it is best to address generic resolution up 
front.

Cheers,
Bill




-- 
Bill Long                                   longb at cray.com
Fortran Technical Support    &              voice: 651-605-9024
Bioinformatics Software Development         fax:   651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120

            




More information about the J3 mailing list