Type literal of pure function pointer
bearophile
bearophileHUGS at lycos.com
Sun Jul 25 07:48:45 PDT 2010
Simen kjaeraas:
> Add it to Bugzilla. Another case is that this works:
>
> alias pure int function( int ) FN;
> pure foo4( FN fn, int x ) {
> return fn( x );
> }
>
> It seems the problem is that type specification in function signatures
> does not support the full range of type signature in the language.
http://d.puremagic.com/issues/show_bug.cgi?id=4505
More information about the Digitalmars-d-learn
mailing list