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
The WI_MACRO_DISPATCH expands a macro whose name is computed by suffixing its first parameter with the number of additional parameters (up to 99). The computed macro is then expanded with the additional parameters as its parameters.
Example:
#defineCHECK0() Empty()
#defineCHECK1(x) Alpha(x)
#defineCHECK2(x, y) Beta(x, y)
#defineCHECK3(x, y, z) Gamma(x,y,z)
WI_MACRO_DISPATCH(CHECK, 12, 34) // expands to CHECK2(12, 34)// which expands to Beta(12, 34)