Bug in RefCounted?

Maxim Fomin maxim at maxim-fomin.ru
Tue Oct 29 11:11:55 PDT 2013


On Tuesday, 29 October 2013 at 17:57:01 UTC, Ali Çehreli wrote:
> On 10/29/2013 08:47 AM, Maxim Fomin wrote:
>> On Monday, 28 October 2013 at 20:43:01 UTC, Ali Çehreli wrote:
>>>
>>> What is the purpose of writeln in that delegate? Obviously, 
>>> to print
>>> 1. Yet it doesn't happen that way. Is this accepted to be a 
>>> bug?
>>> Should the programmer 'new' the object instead?
>>>
>>> Ali
>>
>> In my opinion it is a corner case, a consequence of two 
>> things: 1) need
>> to allocate struct into heap due to lambda 2) need to put dtor
>> invocation in the end as usual.
>
> As a continuation of this sub thread, I've opened the following 
> thread in the D newsgroup:
>
>   http://forum.dlang.org/post/l4osr0$2f3q$1@digitalmars.com
>
> Ali

I did this in 2 January 
(http://forum.dlang.org/thread/lpljpfjxwobniglwnqvl@forum.dlang.org) 
and received exactly zero responces.


More information about the Digitalmars-d-learn mailing list