December 29, 2012 Re: Remus | ||||
---|---|---|---|---|
| ||||
Posted in reply to Namespace | On Friday, 28 December 2012 at 21:19:47 UTC, Namespace wrote:
> Update:
> Now available: auto ref compiler.
> Because I assume that the 'auto ref' situation won't be fixed in this release, I wrote a workaround which provides remedy. But I still hope, that someone writes a solution.
>
> So these code:
> https://github.com/Dgame/Romulus/blob/master/Romulus/test/praesi.d
> is converted to: https://github.com/Dgame/Romulus/blob/master/Romulus/test/Romulus_praesi.d
>
> It isn't perfect because _all_ possible permutation (2^n) are generated, but better than nothing.
And now it works even with Visual Studio (on Windows).
It generates new files and generates for functions with auto ref parameter all possible permutations.
So it is a workaround as long as there is nothing comparable in D.
|
Copyright © 1999-2021 by the D Language Foundation