My Reference Safety System (DIP???)

Andrei Alexandrescu via Digitalmars-d digitalmars-d at
Mon Mar 2 16:47:00 PST 2015

On 3/2/15 4:35 PM, deadalnix wrote:
> On Tuesday, 3 March 2015 at 00:11:36 UTC, Zach the Mystic wrote:
>> On Tuesday, 3 March 2015 at 00:02:48 UTC, deadalnix wrote:
>>>> What do you think? How many times do you normally pass a global?
>>> I fail too see how t being global vs t being a local that is doubly
>>> passed change anything.
>> Within the function, the global passed as a parameter creates an alias
>> to the global. Fortunately, Andrei Fermat may have just solved the issue:
> This does not solve anything as postblit only increase refcount so it
> does not make any sense that it deletes the payload.

Yah, it's opAssign instead of postblit. -- Andrei

More information about the Digitalmars-d mailing list