digitalmars.D - delegates
- "Bent Rasmussen" <exo bent-rasmussen.info> May 23 2004
The spec says that to have mutual recursion of nested functions you have to use delegates (or function pointers if there are no variables in the scope) and that this restriction may go away in the future. But suppose you'd like to use delegates to functions outside of the function in which they're declared. Is this something which might be added to the language in the future via some mechanism or is it too big a task or change?
May 23 2004