Intel® Fortran Compiler 17.0 Developer Guide and Reference

Resolving 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.

See Also