I think this should be possible, look for eg. to std.bitmanip bitfields template

On Tuesday, 23 October 2012 at 09:47:55 UTC, Jerome wrote:
No answer. Should I assume that it is not possible?
That's something that could be done in C with a simple macro. I really would like to know to what extent mixins are a replacement for C macros for generating boilerplate code.


Reply via email to