Function pointer array slice?

Tofu Ninja via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jul 11 02:30:41 PDT 2015


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;


More information about the Digitalmars-d-learn mailing list