Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linked_node), | intent(in) | :: | this |
Returns whether or not this node points at another one, forming a chain.
elemental logical function has_next(this)
!* Author: Chris MacMackin
! Date: February 2016
!
! Returns whether or not this node points at another one, forming
! a chain.
!
class(linked_node), intent(in) :: this
has_next = associated(this%next)
end function has_next