String lambdas

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 27 20:15:36 PDT 2016


On Thursday, 28 April 2016 at 00:14:41 UTC, deadalnix wrote:
> More generally, it is not clear what is allowed to do for 
> merging functions. In C/C++ it is assumed that different 
> function MUST have different identities.

I don't think this needs to hold true for anonymous functions 
though. If they have the same representation twice, it is 
arguably just the same function referenced twice.


More information about the Digitalmars-d mailing list