class EL_SHARED_STRING_8_BUFFER_POOL

(source code)

Client examples: RBOX_CORTINA_TEST_SONGRBOX_PLAYLISTSTRING_8_TWIN_VS_SCOPE_COPIED_ITEM

description

Shared instance of EL_STRING_BUFFER_POOL [EL_STRING_8_BUFFER]

notes

Usage pattern:

if attached String_8_pool.borrowed_item as borrowed loop
   if attached borrowed.empty as str then
      ...
   end
   borrowed.return
end
note
	description: "Shared instance of ${EL_STRING_BUFFER_POOL [EL_STRING_8_BUFFER]}"
	notes: "[
		Usage pattern:

			if attached String_8_pool.borrowed_item as borrowed loop
				if attached borrowed.empty as str then
					...
				end
				borrowed.return
			end
	]"

	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-11-08 9:05:34 GMT (Friday 8th November 2024)"
	revision: "2"

deferred class
	EL_SHARED_STRING_8_BUFFER_POOL

inherit
	EL_ANY_SHARED

feature {NONE} -- Constants

	String_8_pool: EL_STRING_BUFFER_POOL [EL_STRING_8_BUFFER]
		once
			create Result.make (5)
		end
end