sum_func Abstract Interface

abstract interface
private pure function sum_func(this, addition)

Arguments

Type IntentOptional AttributesName
class(list), intent(in) :: this
procedure(addition_func) :: addition

A procedure performing addition between two container objects and returning the result in another container

Return Value class(container), allocatable

A container holding the sum of all of the items held within this list