EXTENDS_TYPE_OF(A, MOLD) (Fortran 2003)

Purpose

Inquires whether the dynamic type of A is an extension type of the dynamic type of MOLD.

Class

Inquiry function

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

Note: The result depends only on the dynamic types of A and MOLD. Differences in type parameters are ignored.