
"Victor A. Wagner Jr." <vawjr@rudbek.com> writes:
At Saturday 2004-09-25 05:47, you wrote:
"Victor A. Wagner Jr." <vawjr@rudbek.com> writes:
I don't mean to pick on you in particular. I just got tired of hearing people repeat the "mantra" of "you can subtract two pointers, but not add them". It's simply NOT true.
Well, the nitpicking seems a bit unwarranted since it certainly is true in C++. It all depends on context, doesn't it?
what's true, you can't add pointers?
In C++, you can't add pointers.
that's a rule written by some folks that has NO bearing on reality as my message showed. A rather pointless rule at that.
Maybe. It doesn't make much sense until you divide by 2 ;-).
did you actually understand the argument?
Of course. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com