Mixin replacement for switch...case?

Daniel Kozák" <kozzi11 at gmail.com> Daniel Kozák" <kozzi11 at gmail.com>
Tue Oct 23 03:40:11 PDT 2012


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.




More information about the Digitalmars-d mailing list