Walter Bright:

The trouble is that, as 3866 shows, there is no design anyone could come up with that worked in a consistent manner. The only consistent way out was to make default arguments a characteristic of the declaration, not of the type.

I think Ada is doing what D does now, it doesn't accept default arguments for things like function pointers/delegates.

Bye,
bearophile

Reply via email to