Boost logo

Boost Users :

From: Louis Lavery (Louis_at_[hidden])
Date: 2001-12-15 05:02:32


----- Original Message -----
From: Darin Adler <darin_at_[hidden]>
To: <Boost-Users_at_[hidden]>
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_at_[hidden]> 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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net