Forward reference not working in nested functions

bearophile bearophileHUGS at lycos.com
Wed Dec 12 13:13:06 PST 2012


Timon Gehr:

> (A silly workaround is the following, but I do not know if this 
> has been documented since it has been discovered:

The workaround I use was found by Don, is to the define an inner 
static struct with static methods.

Bye,
bearophile


More information about the Digitalmars-d mailing list