Release all storage and reset to the empty state.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_int64_t), | intent(inout) | :: | self |
pure subroutine vec_int64_destroy(self) !! Release all storage and reset to the empty state. class(vector_int64_t), intent(inout) :: self self%n_items = 0 if (allocated(self%items)) deallocate (self%items) end subroutine vec_int64_destroy