Subject: Re: Should PR 18434 be closed?
To: None <email@example.com>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
Date: 04/07/2003 08:09:50
> DELAY(unsigned int us);
> so what "use as an expression" are we talking about? You can't use
> void functions as expressions, can't you?
You can in some contexts. You can as the left-hand operand of a comma
operator, as the second or third operand of a ?: (when the other one is
also void, at least), and as the expression part of an
expression-plus-semicolon statement. The first and third pieces of a
for-loop control are other such contexts.
Basically, the only thing you _can't_ do with an expression of type
void is actually use its value.
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML firstname.lastname@example.org
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B