On Saturday, 12 November 2016 at 01:02:05 UTC, Jonathan M Davis wrote:
On Friday, November 11, 2016 23:32:11 Jerry via Digitalmars-d wrote:
D doesn't have bitfields though? Phobos just has a template that emulates them by mixing in functions that do the bit shifting. Because it done through mixins it means you can't attach attributes to the fields. Which I am in need of. Haven't found a good workaround though.

What attributes do you need that aren't there already? UDAs? Looking at the code, the full set of appropriate built-in attributes are on them already.

- Jonathan M Davis

Yah I need to associate some extra information with the bitfields using UDAs.

Reply via email to