Purpose
Inquires whether the dynamic type
of A is an extension type of the dynamic type of MOLD.
Argument type and attributes
- A
- An INTENT(IN) argument of extensible type. If
the actual argument corresponding to A is
a pointer, the pointer must not have an undefined association status.
- MOLD
- An INTENT(IN) argument of extensible type. If
the actual argument corresponding to MOLD is
a pointer, the pointer must not have an undefined association status.
Result type and attributes
Default logical
scalar
Result value
- If MOLD is unlimited polymorphic and
is a disassociated pointer or an allocatable argument
that is deallocated, the result is true.
- Otherwise, if A is unlimited polymorphic
and is either a disassociated pointer or an allocatable
argument that is deallocated, the result is false.
- Otherwise, if the dynamic type of A is
an extension type of the dynamic type of MOLD,
the result is true.
- Otherwise, the result is false.
Note: The result depends only on the dynamic types of A and MOLD.
Differences in type parameters are ignored.