mir.bitmanip

Bit-level manipulation facilities.

CategoryFunctions
Bit constructsbitfields
TaggingtaggedClassRef taggedPointer

Members

Templates

bitfields
template bitfields(T...)

Allows creating bit fields inside structs and classes.

taggedClassRef
template taggedClassRef(T, string name, Ts...)

This string mixin generator allows one to create tagged class reference inside structs and classes.

taggedPointer
template taggedPointer(T : T*, string name, Ts...)

This string mixin generator allows one to create tagged pointers inside structs and classes.

Meta

Authors

Walter Bright, Andrei Alexandrescu, Amaury SECHET