(j3.2006) Did we intend for it to be impossible for an elemental function to have a polymorphic result?
Van Snyder
Van.Snyder
Wed Nov 18 18:19:34 EST 2015
Did we intend for it to be impossible for an elemental function to have
a polymorphic result?
The result can only be polymorphic if it has the ALLOCATABLE or POINTER
attribute, which is prohibited by C12102 in 15-007r2.
It would be more useful if C12102 were replaced by a requirement (which
cannot be a constraint) that the dynamic type of every element of the
result be the same.
More information about the J3
mailing list