Static Functions and pointers
Dan
murpsoft at hotmail.com
Tue Apr 3 12:34:54 PDT 2007
Kirk McDonald Wrote:
> No, it means you *can* use that.
...
The rest didn't make sense. : p Classes are still little black boxes to me, I think well in terms of instructions, pointers, structs and arrays.
So that means I can now go:
static int f1(int x){..}
static int f2(int x){..}
static int f3(int x){..}
static int function(int x)[3] foo = [ &f1, &f2, &f3 ];
???
If that's true, then that will dramatically improve startup performance and legibility of my Walnut 2.x scripting engine! : D
More information about the Digitalmars-d-learn
mailing list