Re: Manually calling postblots recursively

2017-06-22 Thread Johannes Loher via Digitalmars-d-learn
On Sunday, 18 June 2017 at 14:16:03 UTC, Basile B. wrote: On Sunday, 18 June 2017 at 09:41:01 UTC, Johannes Loher wrote: Hey, I'm trying to work on https://issues.dlang.org/show_bug.cgi?id=15708 so I decided it might be interesting to find a way to (recursively) call all postblits that belong

Re: Manually calling postblots recursively

2017-06-18 Thread Basile B. via Digitalmars-d-learn
On Sunday, 18 June 2017 at 09:41:01 UTC, Johannes Loher wrote: Hey, I'm trying to work on https://issues.dlang.org/show_bug.cgi?id=15708 so I decided it might be interesting to find a way to (recursively) call all postblits that belong to certain struct or static array. This is what I came up

Manually calling postblots recursively

2017-06-18 Thread Johannes Loher via Digitalmars-d-learn
Hey, I'm trying to work on https://issues.dlang.org/show_bug.cgi?id=15708 so I decided it might be interesting to find a way to (recursively) call all postblits that belong to certain struct or static array. This is what I came up with so far: import std.traits; void callPostblits(S)(ref S s