From: David Abrahams (dave_at_[hidden])
Date: 2004-09-27 06:32:07
"Victor A. Wagner Jr." <vawjr_at_[hidden]> writes:
> At Saturday 2004-09-25 05:47, you wrote:
>>"Victor A. Wagner Jr." <vawjr_at_[hidden]> 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?
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk