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.
dataSurfer
13
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Is multiple dispatch the same as function overloading? | 19 | 24647 | May 25, 2020 | |
| Understanding multiple dispatch | 31 | 14016 | August 21, 2024 | |
| Multiple dispatch example at/for julialang.org | 8 | 340 | December 14, 2025 | |
| Is Julia's way of OOP superior to C++/Python? Why Julia doesn't use class-based OOP? | 146 | 34232 | October 11, 2021 | |
| The Unreasonable Efficiency and Effectiveness of Multiple Dispatch: Your Favourite Examples | 36 | 3365 | January 10, 2025 |