Discussion Thread: DIP 1032--Function pointers and Delegate Parameters...--Community Review Round 1

Timon Gehr timon.gehr at gmx.ch
Mon Apr 6 09:58:19 UTC 2020


On 06.04.20 10:34, Walter Bright wrote:
> On 4/4/2020 4:40 AM, H. S. Teoh wrote:
>> IOW, the effective attributes of a function call is the least permissive
>> among the function itself and its delegate arguments.
> 
> I.e. pass a pure lambda, and the function must be pure. Like I said, 
> that is not going to work.

The IOW is an inaccurate summary of the post, probably a typo. The 
actual suggestion is to give it the _most_ permissive attributes.


More information about the Digitalmars-d mailing list