Intel® Fortran Compiler 16.0 User and Reference Guide

EXTENDS_TYPE_OF

Inquiry Intrinsic Function (Generic): Inquires whether the dynamic type of an object is an extension type of the dynamic type of another object.

result = EXTENDS_TYPE_OF (a , mold)

a

(Input) Is an object of extensible type. If it is a pointer, it must not have an undefined association status.

mold

(Input) Is an object of extensible type. If it is a pointer, it must not have an undefined association status.

Results

The result type is default logical scalar.

The following determines the result value:

Otherwise, the result is processor dependent.