The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
BitField.__vmap
mir
ndslice
field
BitField
optimization for bitwise operations
auto
__vmap
(Fun fun)
struct
BitField
(Field, I = typeof(cast()Field.init[size_t.init]))
@
fmamath
auto
__vmap
(
Fun
:
LeftOp
!(
op
,
bool
)
string
op
)
(
Fun
fun
)
if
(
op
== "|" ||
op
== "&"
||
op
== "^"
)
if
(
__traits(
isUnsigned
,
I
)
)
auto
__vmap
(Fun fun)
auto
__vmap
(Fun fun)
Meta
Source
See Implementation
mir
ndslice
field
BitField
aliases
__map
functions
__vmap
assumeFieldsHaveZeroShift
lightConst
lightImmutable
variables
_field
optimization for bitwise operations