3 ms·
size_t is unsigned, so (dsize <= 0) is identical to (dsize == 0) ;)
by caf 7y ago
size_t is unsigned, so (dsize <= 0) is identical to (dsize == 0) ;)
- dwheeler 7y agoThat is true, but I find the less than or equal to be logically clearer. YMMV.