filter_func Abstract Interface

abstract interface
private pure function filter_func(this, test)

Arguments

Type IntentOptional AttributesName
class(list), intent(in) :: this
procedure(test_func) :: test

A test for which the values that pass will be returned in a new list

Return Value class(list), allocatable

Contains those items in this list for which test returns .true.