Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(string), | intent(inout) | :: | lhs | Left hand side. |
||
character(kind=CK,len=*), | intent(in) | :: | rhs | Right hand side. |
Assignment operator from character input.
elemental subroutine string_assign_character(lhs, rhs)
!---------------------------------------------------------------------------------------------------------------------------------
!< Assignment operator from character input.
!---------------------------------------------------------------------------------------------------------------------------------
class(string), intent(inout) :: lhs !< Left hand side.
character(kind=CK, len=*), intent(in) :: rhs !< Right hand side.
!---------------------------------------------------------------------------------------------------------------------------------
!---------------------------------------------------------------------------------------------------------------------------------
lhs%raw = rhs
return
!---------------------------------------------------------------------------------------------------------------------------------
endsubroutine string_assign_character