auto functions not authorized inside main?

bearophile bearophileHUGS at
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.


More information about the Digitalmars-d-learn mailing list