On Saturday, 5 September 2015 at 00:21:42 UTC, Timon Gehr wrote:
On 09/05/2015 01:15 AM, Andrei Alexandrescu wrote:
My thinking is that significant work in this(this) is poor D style. Eager copying for containers doesn't seem like the best way to go. --
Andrei

@disable this(this) for ephemeral containers?

I actually missed this message somehow, but this is what I'll do. A move-only container(base container) is fine by me. It'll probably end up sitting in a class, or the global scope anyways. Passing them around arbitrarily and joining them with "~" was not part of the plan.

Finally, I can throw in one of these, and everybody wins:
alias ListRef(T) = RefCounted!(List!T);

   Bit

Reply via email to