2 ms·
do … while(0) is a well-know method of writing multi-statement macros: http://c-faq.com/cpp/multistmt.html http://c-faq.com/cpp/multistmt.html while … while(0
by jwilk 8y ago
do … while(0) is a well-know method of writing multi-statement macros:
http://c-faq.com/cpp/multistmt.html http://c-faq.com/cpp/multistmt.html
while … while(0) looks like a mistake?