December 29, 2012
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.
December 29, 2012
Before I forget: the specially imported compiler flag "-del" deletes the (temporary) generated files immediately after compiling.
1 2 3 4 5 6 7 8 9
Next ›   Last »