Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(array_list), | intent(in) | :: | this |
The element at the end of the list
Returns the item at the end of the list, without removing it.
pure function array_list_peek(this) result(peek)
!* Author: Chris MacMackin
! Date: March 2016
!
! Returns the item at the end of the list, without removing it.
!
class(array_list), intent(in) :: this
class(container), allocatable :: peek
!! The element at the end of the list
end function array_list_peek