D-issapointed after using C# for a while.

Jonathan M Davis via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 11 17:02:05 PST 2016


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



More information about the Digitalmars-d mailing list