You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#defineH3(X, ...) #__VA_OPT__(X##X X##X)
H3(, 0) // replaced by ""
On the other hand, just below that is:
Each # preprocessing token in the replacement list for a function-like macro shall be followed by a parameter as the next preprocessing token in the replacement list.
This is inconsistent and I think the code example is wrong, but what about?
When I run it, it seems to reject everything except clang.
The text was updated successfully, but these errors were encountered:
jensmaurer
changed the title
[cpp.subset]/4 Isn't the macro execution example wrong?
[cpp.subst]/4 Isn't the macro execution example wrong?
Nov 7, 2020
Here is an example of H3.
On the other hand, just below that is:
This is inconsistent and I think the code example is wrong, but what about?
When I run it, it seems to reject everything except clang.
The text was updated successfully, but these errors were encountered: