On Monday, 8 June 2015 at 20:02:11 UTC, Andrei Alexandrescu wrote:
I'm trying to collect together motivating examples and to figure out the semantics of the feature.

maybe not completely related, but I made a blog post on using CTFE to unroll foreach at compiletime

https://rsw0x.github.io/post/switch-unrolling/

I find myself often writing recursive templates for compile-time generation of constructs that could be done cleaner with static foreach.

Reply via email to