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

Walter Bright newshound2 at digitalmars.com
Thu Jul 30 06:08:07 UTC 2020


On 7/29/2020 8:23 PM, Mathias LANG wrote:
> On Thursday, 30 July 2020 at 03:16:02 UTC, Walter Bright wrote:
>> On 7/29/2020 4:26 AM, Dennis wrote:
>>> How would you solve this if you were the library author?
>>
>> The usual way is with templates.
> 
> It doesn't work for `Object.toString` which is the textbook use case for this.

That's really a problem with Object.toString.


More information about the Digitalmars-d mailing list