auto functions not authorized inside main?

bearophile bearophileHUGS at lycos.com
Sun Jun 27 08:38:33 PDT 2010


Philippe Sigaud:
> I couldn't find a bugzilla entry for this and I cannot believe no one ever
> tried to put an auto fun inside main!

Maybe auto funcs are seen as instantiated templates, and templates can't be defined inside functions. Anyway, I think you can file this as enhancement request.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list