释放 other 数据中的内存 (规范)
参数:other - 其他数据
类型 | 意图 | 可选 | 属性 | 名称 | ||
---|---|---|---|---|---|---|
type(other_type), | intent(inout) | :: | other |
subroutine free_other( other ) !! Version: Experimental !! !! Frees the memory in the other data !! ([Specifications](../page/specs/stdlib_hashmaps.html#free_other-frees-the-memory-associated-with-other-data)) !! !! Arguments: !! other - the other data type(other_type), intent(inout) :: other if ( allocated( other % value) ) deallocate( other % value ) end subroutine free_other