Movable resource handles

Era Scarecrow via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 27 21:27:16 PST 2016


On Thursday, 28 January 2016 at 03:55:22 UTC, Matt Elkins wrote:
>     //handles ~= RH(3); // Fails because post-blit constructor 
> is @disabled

  It really comes down to that an array qualifies as 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.


More information about the Digitalmars-d mailing list