rvalues->ref args

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 13 21:27:54 PDT 2014


On 9/13/14, 8:49 PM, Manu via Digitalmars-d wrote:
> What is so bad about producing an implicit temporary? Why are people so
> excited about these wildly complex solutions, when the direct solution
> is so simple? I've obviously missed something.

The conversion may end up escaping the address of a temporary. -- Andrei



More information about the Digitalmars-d mailing list