RE: [gnet-dev] Build with Sun compiler



On Tue, 29 Apr 2003 martyn 2 russell bt com wrote:
> > The conditional operator is ofcourse standard C. But it is not an
> > lvalue and can therefore not be used as the left hand part of an
> > assignment.
>
> True, d'oh :)
>
> But you say GCC allows it?

Yes, and Microsoft's compiler too evidently.  It is allowed in C++ I
think.

David



-- 
David Helder - dhelder umich edu - <http://www.eecs.umich.edu/~dhelder>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]