----- Original Message ----- From: Darin Adler <darin@bentspoon.com> To: <Boost-Users@yahoogroups.com> Sent: Friday, 14 December, 2001 9:52 PM Subject: Re: [Boost-Users] Why not "if (px != rpx) " ?
On 12/14/01 1:40 PM, "Louis Lavery" <Louis@devilsChimney.co.uk> wrote:
Yes, I see that, but I can't see what's wrong with using the test "if ( px != rpx )".
Or, to put it another way, if px == rpx == 0 who cares whether pn equals rpn or not?
Oops, my last message was a mistake. I don't know the answer.
-- Darin
Well, it almost convinced me until I read it a few times. I've been pondering it some more and am now sure there's nothing wrong with "if (px != rpx)" and, this being the case, is to be prefered over "if (pn != rpn)". Why? Because the later is confusing, witness this thread ;-) Thanks for your reply, Louis.