3 ms·
Nice. I have been typing like crazy for a few minutes, then started to read the code. I didn't know that nblocks = nblocks ? : 1 is equivalent to nblock = nblo
by gjulianm 14y ago
Nice. I have been typing like crazy for a few minutes, then started to read the code.
I didn't know that nblocks = nblocks ? : 1 is equivalent to nblock = nblocks ? nblocks : 1. Pretty nice trick.
- simias 14y agoI believe that's a GNU extension, not standard C. See for instance: https://en.wikipedia.org/wiki/%3F:#C https://en.wikipedia.org/wiki/%3F:#C