12 ms·
It's also cleaner than the do { ... } while(0) business, imho.
by yan 18y ago
It's also cleaner than the do { ... } while(0) business, imho.
- tspiteri 18y agodo { ... } while(0) is Ansi C and has type void. ({ ... }) is a GCC extension and its value is the value of the last expression inside the block. So they have different uses.