Changing Template Static Ifs to Recursion

jmh530 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 31 12:41:41 PDT 2017


On Wednesday, 31 May 2017 at 19:25:22 UTC, ag0aep6g wrote:
> On 05/31/2017 08:50 PM, jmh530 wrote:
>> Note: I left out the function foo, but think of foo is to Foo 
>> as tuple is to Tuple.
>
> You should have included foo, in my opinion. I'm having trouble 
> figuring out what your code does. `process` instantiates foo 
> with the field names. I'd need the definition of foo to make 
> sense of that.
>

Sorry, I'm glad you understood what I meant. I only needed to 
make one small change it worked perfectly. Cheers.


More information about the Digitalmars-d-learn mailing list