20.01.2017 04:21, Nestor пишет:
On Wednesday, 18 January 2017 at 12:52:56 UTC, drug wrote:
I've "solved" the same problem by using AliasSeq to generate bitfields
so that for iterating over bitfields I can iterate over alias sequence
and mixin code. Not very good but it works.

Interesting, could you provide a working example?
Something like that https://goo.gl/C4nOqw
Because you generate code iterating over AliasSeq you can do almost everything you need - for example generate setters/getters.

Reply via email to