Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(string), | intent(in) | :: | lhs | Left hand side. |
||
type(string), | intent(in) | :: | rhs | Right hand side. |
Opreator test result.
Equal to string logical operator.
elemental function string_eq_string(lhs, rhs) result(is_it)
!---------------------------------------------------------------------------------------------------------------------------------
!< Equal to string logical operator.
!---------------------------------------------------------------------------------------------------------------------------------
class(string), intent(in) :: lhs !< Left hand side.
type(string), intent(in) :: rhs !< Right hand side.
logical :: is_it !< Opreator test result.
!---------------------------------------------------------------------------------------------------------------------------------
!---------------------------------------------------------------------------------------------------------------------------------
is_it = lhs%raw == rhs%raw
return
!---------------------------------------------------------------------------------------------------------------------------------
endfunction string_eq_string