MOVE_ALLOC(FROM, TO)
moves the allocation from FROM to TO. FROM will become deallocated in the process.
Fortran 2003 and later
Pure subroutine
CALL MOVE_ALLOC(FROM, TO)
FROM |
ALLOCATABLE , INTENT(INOUT) , may be of any type and kind. |
TO |
ALLOCATABLE , INTENT(OUT) , shall be of the same type, kind and rank as FROM. |
None
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gfortran/MOVE_005fALLOC.html