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/[email protected]
Ali
I did this in 2 January
(http://forum.dlang.org/thread/[email protected])
and received exactly zero responces.