(j3.2006) Does F2015 allow assumed-rank components in derived types?

Bill Long longb
Mon Jan 12 08:15:42 EST 2015


On Jan 11, 2015, at 7:40 PM, Tom Clune <Thomas.L.Clune at NASA.GOV> wrote:

> Given the usual caveats about using assumed-rank entities, I?m half anticipating that the answer is ?no?.   It would be nice to allow containers that hold arbitrary Fortran entities in such a clean manner.

The first constraint for assumed-rank:

"An assumed-rank entity shall be a dummy data object that does not have the CODIMENSION or VALUE attribute.?

Type components are not dummy data objects. 

Cheers,
Bill

> 
> _______________________________________________
> J3 mailing list
> J3 at mailman.j3-fortran.org
> http://mailman.j3-fortran.org/mailman/listinfo/j3

Bill Long                                                                       longb at cray.com
Fortran Technical Suport  &                                  voice:  651-605-9024
Bioinformatics Software Development                     fax:  651-605-9142
Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101





More information about the J3 mailing list