On 09/22/11 16:08, bearophile wrote:
Andrei Alexandrescu:

A function literal should be comparable to another for equality.

Are you willing to explain me why, and show an use case?

An important application is optimizing for specific lambdas (e.g. equality). For example, a substring search using equality for characters could use bitwise comparison.

Andrei

Reply via email to