On 9/3/11, Timon Gehr <[email protected]> wrote:
> Related: I think that function pointers should implicitly decay to
> delegates. This would allow the compiler to optimize some delegate
> literals to function pointers if they don't access the outer scope,
> without breaking any code that wants to use such a function literal as a
> delegate.
>

Well in TDPL it says that function literals are function literals by
default unless the compiler determines they must be delegates. But
currently all function literals are delegates unless explicitly marked
with 'function'.

Reply via email to