134. Assumed type arguments have no declared type.#

topic: Generic programming

Note

This tip is a draft1.

Fortran 2018 allows assumed type arguments that have no declared type, with syntax type(*). Such arguments can only be used in a small number of intrinsic functions, including SHAPE, SIZE, and RANK. Actual arguments can have intrinsic or derived types.



1

From the perspective of FortranTip Browser, “draft” means that it hasn’t been edited for formatting, hasn’t had corresponding Fortran programs added, the text content hasn’t been enhanced, etc. Draft texts are extracted from the corresponding Tweet using the Twitter API.