Weak References [OT]

Bill Baxter wbaxter at gmail.com
Thu Aug 7 21:29:23 PDT 2008


On Fri, Aug 8, 2008 at 11:09 AM, Steven Schveighoffer
<schveiguy at yahoo.com> wrote:
> Bill,
>
> As an aside, I notice you have a dup() function in WeakRef.  When would you
> ever want to dup the WeakRef?  If anything, dup() should just return 'this'.
>

Hmm, yeh.  You're right.  It doesn't serve any useful purpose there.

--bb



More information about the Digitalmars-d mailing list