3 ms·
TFA explains—not even a quarter of the way through!—why overloading in C++ isn't good enough to implement multiple dispatch.
by tomjakubowski 9y ago
TFA explains—not even a quarter of the way through!—why overloading in C++ isn't good enough to implement multiple dispatch.
- e12e 9y agoIndeed. The example how how to do it "right" (in production) in c++: https://sourceforge.net/p/loki-lib/code/HEAD/tree/trunk/include/loki/MultiMethods.h https://sourceforge.net/p/loki-lib/code/HEAD/tree/trunk/incl...
- andreasgonewild 9y agoThat is another example of how to make C++ taste like Java from my perspective, I don't care how famous he is.