Type.stringof is removing alias and bitmanip
As a result, it is impossible to use thing like bitfields in templates. I'm trying to do something like struct MySuperStruct(E) { enum DataSize = ulong.sizeof * 8 - EnumSize!E; import std.bitmanip; mixin(bitfields!( E, kind, EnumSize!E,
Re: Type.stringof is removing alias and bitmanip
On Monday, 8 December 2014 at 08:25:36 UTC, deadalnix wrote: As a result, it is impossible to use thing like bitfields in templates. I'm trying to do something like struct MySuperStruct(E) { enum DataSize = ulong.sizeof * 8 - EnumSize!E; import std.bitmanip;