Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(array_list), | intent(inout) | :: | this |
The item just removed from the start of the list
Removes the item at the start of the list and returns it.
function array_list_popleft(this) result(pop)
!* Author: Chris MacMackin
! Date: March 2016
!
! Removes the item at the start of the list and returns it.
!
class(array_list), intent(inout) :: this
class(container), allocatable :: pop
!! The item just removed from the start of the list
end function array_list_popleft