foreach_sub Abstract Interface

abstract interface
private subroutine foreach_sub(this, action)

Arguments

Type IntentOptional AttributesName
class(list), intent(inout) :: this
procedure(action_sub) :: action

A procedure to act on each element of the list