Manually calling postblots recursively

Basile B. via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jun 18 07:16:03 PDT 2017


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 with so far:
>
> [...]

"@disable" postblits are detected as valid postblits.
I think that you have to AndAnd the detection with 
std.traits.isCopyable


More information about the Digitalmars-d-learn mailing list