3 ms·
This is a good article in terms of context, but I found it much easier to understand how C++ does class functions when I first saw this in a disassembly output.
by rjzzleep 6y ago
This is a good article in terms of context, but I found it much easier to understand how C++ does class functions when I first saw this in a disassembly output. I guess I'm a more visual learner that has a fairly hard time following a lot of text.
- gmueckl 6y agoThis article doesn't touch codegen. It is merely about the algorithm by which the compiler disambiguates e.g. which function or method named foo you meant to call when you write e.g. foo(1, 3) vs. x::foo("bar").