move 接口

公共接口 move

将分配的字符标量从 'from' 移动到 'to' 规范


模块过程

私有基本子程序 move_string_string(from, to)

将分配的字符标量从 'from' 移动到 'to' 无输出

参数

类型 意图可选 属性 名称
type(string_type), intent(inout), 目标 :: from
type(string_type), intent(inout), 目标 :: to

私有纯子程序 move_string_char(from, to)

将分配的字符标量从 'from' 移动到 'to' 无输出

参数

类型 意图可选 属性 名称
type(string_type), intent(inout) :: from
character(len=:), intent(out), 可分配 :: to

私有纯子程序 move_char_string(from, to)

将分配的字符标量从 'from' 移动到 'to' 无输出

参数

类型 意图可选 属性 名称
character(len=:), intent(inout), 可分配 :: from
type(string_type), intent(out) :: to

私有纯子程序 move_char_char(from, to)

将分配的字符标量从 'from' 移动到 'to' 无输出

参数

类型 意图可选 属性 名称
character(len=:), intent(inout), 可分配 :: from
character(len=:), intent(out), 可分配 :: to