On Friday, 14 May 2021 at 22:39:29 UTC, frame wrote:
- how can I tell the compiler that I do not want to handle some calls?

Put a template constraint on it. `void opDispatch(string s)() if(s == "whatever")` or minimally like `if(s != "popFront")`

This kind of thing is why I always put opDispatch on a helper thing now though, and still do the != "popFront" just to stop the ducktypers.

Reply via email to