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