repost: semantics of the keyword lazy
Derek Parnell
derek at nomail.afraid.org
Thu Oct 12 00:05:18 PDT 2006
On Wed, 11 Oct 2006 22:56:59 -0600, Hasan Aljudy wrote:
> I was wondering what would happen if you call the lazy "delegate"
> multiple times. will the result be cached or will the delegate/function
> be called multiple times?
It is called each time and the values are not cached.
--
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Down with mediocrity!"
12/10/2006 5:05:00 PM
More information about the Digitalmars-d
mailing list