On 2016-12-21 18:43, Johannes Pfau wrote:
Back to topic: I'd really love to see a generalization of RTInfo/mixin templates in D:
I implemented RTInfo for modules a couple of years ago [1]. Unfortunately it was rejected because it had the same problem as RTInfo, it only works inside object.d. I had some ideas for that as well but it was not liked either.
[1] https://github.com/dlang/dmd/pull/2271 -- /Jacob Carlborg