Movable resource handles
Matt Elkins via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jan 29 05:43:55 PST 2016
On Thursday, 28 January 2016 at 06:13:32 UTC, Era Scarecrow wrote:
> On Thursday, 28 January 2016 at 05:39:55 UTC, Era Scarecrow
> wrote:
>> It really comes down to that an array qualifies as an Lvalue
>> operator; But I _think_ this is a bug in the language since
>> you should be able to assign a new Rvalue to a new array
>> element just being created/added. We'll have to get input from
>> Walter or Andrei.
>
> Alright, closest bug match i could find is
> https://issues.dlang.org/show_bug.cgi?id=7032 which is sorta
> the same thing, but not quite...
Ah, ok. A bug is better than a language design limitation -- it
might get fixed at some point! I'll figure out a workaround for
my use case.
Thanks for all the time you spent, I appreciate the help.
More information about the Digitalmars-d
mailing list