What I’m saying is that this is not multiple dispatch, it’s function overloading. All you are doing is limiting the types the function meet can call by forcing them to be in a specific type range. You can do that in C++ and D. The resolution itself occurs at compile time.
1 Like