port c macro to D

Matthias Pleh user at example.net
Thu Sep 15 05:53:21 PDT 2011


On 15.09.2011 13:48, Trass3r wrote:
> If you are willing to write V(+1,-1,+1) instead you can just turn them
> into functions.
really a good point! :)

> Also by static function you probably mean private in D.
No, I meant for mixin I nead static functions, but I just realized,
it also works without the static keyword.



More information about the Digitalmars-d-learn mailing list