Andrei Alexandrescu wrote:
Parameters to dynDispatch (the user-defined forwarding function), NOT opDispatch. opDispatch can take _anything_.Sorry if I'm repeating what you know already, but I am obsessing over a small misunderstanding could end up hamstringing this very powerful feature.So: opDispatch has absolutely no restrictions except a string in the first static parameters position.
I agree and I'm not misunderstanding you. I'm just saying how Variant should work, not opDispatch!