move Interface

public interface move

Moves the allocated character scalar from 'from' to 'to' Specifications


Module Procedures

private elemental subroutine move_string_string(from, to)

Moves the allocated character scalar from 'from' to 'to' No output

Arguments

Type IntentOptional Attributes Name
type(string_type), intent(inout), target :: from
type(string_type), intent(inout), target :: to

private pure subroutine move_string_char(from, to)

Moves the allocated character scalar from 'from' to 'to' No output

Arguments

Type IntentOptional Attributes Name
type(string_type), intent(inout) :: from
character(len=:), intent(out), allocatable :: to

private pure subroutine move_char_string(from, to)

Moves the allocated character scalar from 'from' to 'to' No output

Arguments

Type IntentOptional Attributes Name
character(len=:), intent(inout), allocatable :: from
type(string_type), intent(out) :: to

private pure subroutine move_char_char(from, to)

Moves the allocated character scalar from 'from' to 'to' No output

Arguments

Type IntentOptional Attributes Name
character(len=:), intent(inout), allocatable :: from
character(len=:), intent(out), allocatable :: to