On 04/09/2013 09:27 AM, deadalnix wrote:

> In general, the first assignement of a field in a constructor must be
> handled as a declaration, not as an assignement. It solve
> const/immutable construction issues as well as avoiding unecessary
> copy/destruction as Ali pointed in a recent post.

The following thread:

  http://forum.dlang.org/thread/[email protected]

It contains a link to the following enhancement request:

  http://d.puremagic.com/issues/show_bug.cgi?id=9732

Ali

Reply via email to