Summary: std.bitmanip: Allow repeated (identical) bitfield
--- Comment #0 from Austin Hastings <ah0801...@yahoo.com> 2010-09-24 18:06:53
I'm trying to describe an opcode layout - the arrangement of bits used by a CPU
- and the resulting description is generally a union of bitfields:
opcode, register, register, register
In my case, the opcode represents a common prefix, which leaves me declaring
something like this in D:
"", register, register, register
I would prefer, for reasons of clarity, to be able to repeat the declaration of
opcode - the best comment is source code, as it were.
So I would like the bitmanip code to permit redeclaration of bitfields that are
identical in all respects.
That is, obviously the names are the same, but the field width, offset, and
type representation has to be the same as well.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------