On Saturday, 11 July 2015 at 09:30:43 UTC, Tofu Ninja wrote:
So simple syntax question, how do I make an array slice of function pointers?

I just have no idea where to put the [] on something like

     void function() nothrow pure @nogc @safe arrayName;

Or should I just alias it and make an array of the alias?

     alias f = void function() nothrow pure @nogc @safe;
     f[] arrayName;

Alias is the correct way IMO.

Reply via email to