Checking if a function exists

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Wed Feb 21 14:14:36 PST 2007


Tyler Knott wrote:
> For all types you can use T.init as the dummy value to the function (I 
> just remembered its existence).

Doesn't work for static arrays IIRC, since typeof(T[N].init) == T (for 
constant integer N)...



More information about the Digitalmars-d mailing list