converting a string function name to an actual function call
Steven Schveighoffer
schveiguy at yahoo.com
Tue Nov 27 09:46:46 PST 2007
"oliver" wrote
>
> Hi everyone,
>
> is it possible to program kind of a general function that applies the name
> of a function (given as a char [] ) to arguments. The following code does
> not work but something in the same spirit.
As far as I know, this is not possible. D does not currently support
runtime reflection, which is required by this type of function. Only
compile-time reflection is possible.
-Steve
More information about the Digitalmars-d-learn
mailing list