26 Sep
2014
26 Sep
'14
8:46 p.m.
On 26-09-2014 20:38, pfultz2 wrote:
Am I hitting a nesting depth limit or something else? Is there a way around this? Ideally I want to write a decl5 macro and have successfully written a decl1, decl2 and decl3 so far
Ok, the best way seems to generate a sequence of your data:
<SNIP>
Paul Fultz II
Thanks Paul, that is beautiful. My actual use case involves generating functions (not just int x_....) and using the values in the function name and body like so: void foo_6_5_4_3_2() { //Some function involving x,y,z,w such as bar[4] = foo[3] + 2 * 6 + sqrt(5); } Am I right in saying that I Ssould be able to turn the current sequence into a tuple and access the members for use in the function body? Regards, Colin