iterator Function

public function iterator(this) result(itr)

return an iterator of utf8_string

Arguments

TypeIntentOptionalAttributesName
class(utf8_string), intent(in), target:: this

Return Value type(utf8_string_iterator)


Contents

Source Code


Source Code

    function iterator(this) result(itr)
        class(utf8_string), target, intent(in) :: this
        type(utf8_string_iterator) :: itr

        itr%ptr => this%str

    end function iterator