previous
|
index
|
next
The Conditional Operator ?:
The C++ expression:
test
?
then-expr
:
else-expr
has exactly the same value as Racket's:
(if
test
then-expr
else-expr
)
previous
|
index
|
next