Generate a pointer to a method of a struct

user1234 user1234 at 12.de
Sun Oct 16 02:57:50 UTC 2022


On Saturday, 15 October 2022 at 01:48:15 UTC, kdevel wrote:
> Is this consistent?

I think all the compilers should error on expressions like 
`Type.nonStaticMethod`  and instead there should be a new 
__traits dedicated to that, especially because `this` is not a 
formal parameter.


More information about the Digitalmars-d-learn mailing list