Struct field reordering

monarch_dodra monarchdodra at gmail.com
Thu Jan 2 08:47:06 PST 2014


On Thursday, 2 January 2014 at 16:42:04 UTC, Justin Whear wrote:
> http://dlang.org/phobos/std_typecons.html#.alignForSize

Wow, that interface is horrible! It becomes a real mess if you 
have more than 3 members...

They should have used something like
http://dlang.org/phobos/std_bitmanip.html#.bitfields


More information about the Digitalmars-d-learn mailing list