Perfect forwarding

Adam D. Ruppe destructionator at gmail.com
Wed Jul 29 18:21:15 UTC 2020


On Wednesday, 29 July 2020 at 16:11:02 UTC, Petar Kirov 
[ZombineDev] wrote:
> That it uses a string mixin :P

Not really - that string mixin is only there to work around a 
compiler bug leaking a name out of the scope

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

Notice that the only thing actually mixed in is a random number 
to give a temporary variable a unique name.

It has nothing to do with storage classes or types or anything 
else.


More information about the Digitalmars-d mailing list