Tell me how to implement partitioning define.
There is a code:
#define F(t, n, v) tn = v; Calling:
F(int, test, 1); OK.
I want to replace the parameters with defyne:
#define T int, test2, 1 Calling:
F(T); It does not work, by the way the result takes the form:
int, test2, 1 = ; That is, all variables are inserted into the first parameter.
How to tell the preprocessor to expand T as three parameters, not just one?