Remus

Namespace rswhite4 at googlemail.com
Sat Dec 29 09:30:29 PST 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.


More information about the Digitalmars-d-announce mailing list