Example of the perils of binding rvalues to const ref

IgorStepanov via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 18 04:09:56 PDT 2014


On Thursday, 18 September 2014 at 00:53:40 UTC, Andrei 
Alexandrescu wrote:
> On 9/17/14, 12:28 PM, IgorStepanov wrote:
>> I want to place Foo(1) to buckets[nn].key without postblit 
>> call.
>> Compiler can't help me now, however, I think, It can do it 
>> without
>> language change.
>
> File an enhancement request with explanations and sample code, 
> the works. This will be good. Thanks! -- Andrei

Done: https://issues.dlang.org/show_bug.cgi?id=13492


More information about the Digitalmars-d mailing list