Copying a delegate

Kagamin spam at here.lot
Mon Sep 20 01:08:25 PDT 2010


Jonathan M Davis Wrote:

> delegate by definition has context which is not going to be copied. So, any 
> functon pointer or delegate that you have must refer to a function which is 
> logically pure, otherwise any algorithm that relies on save is not going to work 
> correctly.

If phobos causes subtle bugs, it's a bug worth filing.


More information about the Digitalmars-d-learn mailing list