lkml.org 
[lkml]   [1999]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: FlashPoint card hanging system (BT-950)
<Offtopic>
> The comma operator introduces a C `sequence point'. Everything on the
> left side of the comma is guaranteed to be evaluated before anything
> on the right side.

Er... no. Sequence points only guarantee that statements like:

int i = 0;
for(i++, i += 4; i < 100; i++) {
/* do stuff */
}

Won't use i = 0 for both the i++ and i += 4.

Ordering isn't guaranteed by the comma operator.
</Offtopic>

-- DN

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.239 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site