c++ - Don't understand "#define for if-statement" -
this question has reply here:
what possible utilize “#define if (false) {} else for”? 4 answersi looking @ code used wrapped lua c++ application.
i surprised find this:
#define if (false) {} else
i don't understand meaning of this. me, seems useless that.
does have compiler tricks or else ?
ps: library looking @ luabind.
i've seen similar mitigate compiler bug scoped of for-variable leaked outside of for-statement.
related: /zc:forscope (force conformance in loop scope).
c++ if-statement
No comments:
Post a Comment