class EL_SHARED_ZSTRING_CURSOR

(source code)

Client examples: CLASS_LINK_OCCURRENCE_INTERVALSIF_ATTACHED_ITEM_VS_CONFORMING_INSTANCE_TABLESTRING_ITERATION_CURSOR_TABLESTRING_ITERATION_CURSOR_TYPE_MAP

description

Shared instance of EL_ZSTRING_ITERATION_CURSOR

note
	description: "Shared instance of ${EL_ZSTRING_ITERATION_CURSOR}"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2022 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2024-08-25 10:31:39 GMT (Sunday 25th August 2024)"
	revision: "4"

deferred class
	EL_SHARED_ZSTRING_CURSOR

inherit
	EL_ANY_SHARED

feature {NONE} -- Implementation

	cursor_z (s: EL_READABLE_ZSTRING): EL_ZSTRING_ITERATION_CURSOR
		do
			Result := String_iteration_cursor
			Result.make (s)
		end

feature {NONE} -- Constants

	String_iteration_cursor: EL_ZSTRING_ITERATION_CURSOR
		once
			create Result.make_empty
		end
end