Moves the allocated character scalar from ‘from’ to ‘to’ No output
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=:), | intent(inout), | allocatable | :: | from | ||
| type(string_type), | intent(out) | :: | to |
pure subroutine move_char_string(from, to) character(len=:), intent(inout), allocatable :: from type(string_type), intent(out) :: to call move_alloc(from, to%raw) end subroutine move_char_string