P
px122000
Perhaps I am misusing template but I want to write a template that
creates a class and in the class are three functions, <foo>_set,
<foo>_clr, <foo>_tst. So if I invoke the template with a name like
'mask', three methods would be created called mask_set, mask_clr, and
mask_tst. In the old CPP world, you could use ## (or was it just #?).
I don't think I can use that in templates because the CPP pass is
before the compiler.
Thanks
creates a class and in the class are three functions, <foo>_set,
<foo>_clr, <foo>_tst. So if I invoke the template with a name like
'mask', three methods would be created called mask_set, mask_clr, and
mask_tst. In the old CPP world, you could use ## (or was it just #?).
I don't think I can use that in templates because the CPP pass is
before the compiler.
Thanks