Destruct TestRealVal object by deallocating its next object pointer as well as its res and tgt arrays.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(TestRealArrVal), | intent(inout) | :: | self |
subroutine deleteTestRealArrVal(self)
!! Destruct TestRealVal object by deallocating its next object pointer
!! as well as its res and tgt arrays.
type(TestRealArrVal), intent(inout) :: self
deallocate(self%next)
deallocate(self%res)
deallocate(self%tgt)
end subroutine deleteTestRealArrVal