R
Ron
What kind of tokens can I pass as arguments? Can I pass more than one token
for a single argument? eg.
#define MYMACRO(arg1, arg2) arg1 arg2
MYMACRO("abc" L'd' .12, "def")
Is it valid? But if I can pass any pp-token I could even pass a comma since
it's an op-or-punc pp-token, ok? So i could write:
MYMACRO("abc" , L'd' .12, "def")
That is ambiguous since it's not clear if the first comma closes the first
argument or if it's just a token to pass. Please, give me an answer.
Greetings.
for a single argument? eg.
#define MYMACRO(arg1, arg2) arg1 arg2
MYMACRO("abc" L'd' .12, "def")
Is it valid? But if I can pass any pp-token I could even pass a comma since
it's an op-or-punc pp-token, ok? So i could write:
MYMACRO("abc" , L'd' .12, "def")
That is ambiguous since it's not clear if the first comma closes the first
argument or if it's just a token to pass. Please, give me an answer.
Greetings.