Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Resolve Defined I/O Procedure References

A generic interface for defined I/O of a derived-type object is one that has both of the following:

Within the scope of a defined-io-generic-spec, if two procedures have that generic identifier, they must be distinguishable.

For defined I/O procedures, only the var argument corresponds to something explicitly written in the program, so it is the var that must be distinguishable.

Because var arguments are required to be scalar, they cannot differ in rank. So, the var must be distinguishable in the type and kind type parameters.

You cannot have two procedures with the same defined-io-generic-spec.