3 ms·
My example is slightly contrived because the parentheses around b are unnecessary to cast it, but it becomes more realistic if it's a more complex expression li
by trealira 3y ago
My example is slightly contrived because the parentheses around b are unnecessary to cast it, but it becomes more realistic if it's a more complex expression like this:
(foo)(a + b)
Or this:
// Comma expression or function call arguments?
(bar)(first = side_effect++, second)
- WalterBright 3y agoYeah, (a)(b,c) is that a comma-expression or an argument list?