Boost logo

Boost Users :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2006-10-06 09:13:20


Hi,

I guess that the subject line isn't even technically correct. What I'd like
to do is to implement something like the following:

#define FOO(x) MyNamedParamFn(x, d = 3, e = 4)

Where e.g.

"FOO((a = 0, b = 1));"

would expand to the equivalent of:

MyNamedParamFn(a = 0, b= 1, d = 3, e = 4);

Is this possible?

/ Johan


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net