Re:Obscure C++ Features
by ben0x539 on Friday April 19, 2013 @02:31PM
(#5578016)
The noteworthy bit is that declarations are valid in the conditional "expression" of if-statements and evaluate to the declared variable. It's imo not obvious that declarations are expressions sometimes.
[ Parent
| on HN ]