Checking if a function exists
david
tazz at gmx.at
Wed Feb 21 12:53:18 PST 2007
Look in d.D.learn, there's a recent topic named
-> "Testing if a function is defined in a module"
I guess that will help you.
David
Michiel schrieb:
> I'm not quite sure how to do this, but I'm sure one of you does. I need
> something like:
>
> static if ( functionExists(char[] .toString(T)) ) { ... }
>
> static if ( functionExists(char[] T.toString()) ) { ... }
>
> What is the real way to do this static check?
>
> Thanks!
>
More information about the Digitalmars-d
mailing list