I don't really understand overload, and have never had reason to use it. But your example gets my vote as the clearest in the thread. I don't care about the advanced use, I just want to understand the *basics*. I can usually figure out advanced stuff myself once I've got the basics down.
I think in this case as well, splitting the code into two 'files' makes it a lot easier to understand.
In reply to Re^3: Overloading by Example (small)
by Mutant
in thread Overloading by Example
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |