Empty functions

Jan Hönig hrominium at gmail.com
Thu Oct 29 09:06:21 UTC 2020


On Thursday, 29 October 2020 at 09:01:12 UTC, Jan Hönig wrote:
> This would mean, that this one should work as well.

It does not work as I intended, as `() => {}` has not the return 
type of `void`.

(I don't know how to print: `ReturnType!(() => {})`)


More information about the Digitalmars-d-learn mailing list