Debug help - opDispatch - unknown member function

monkyyy crazymonkyyy at gmail.com
Tue Sep 9 14:37:21 UTC 2025


On Tuesday, 9 September 2025 at 00:40:31 UTC, Brother Bill wrote:
> https://tour.dlang.org/tour/en/gems/opdispatch-opapply
>
> This states: "Any unknown member function call to that type is 
> passed to opDispatch, passing the unknown member function's 
> name as a string template parameter."

Specs are often declarative but the compiler(especially walters 
compiler) and the machine it run on is imperative

It should say "if overload resolution inside a struct is failing, 
try a hack where an opDispatch is called"


More information about the Digitalmars-d-learn mailing list