flod v0.0.1 (2016-03-13T19:02:03Z)
Dub
Repo
ReplaceWithMask.ReplaceWithMask
flod
meta
ReplaceWithMask
Undocumented in source.
alias
ReplaceWithMask
=
AliasSeq
!()
alias
ReplaceWithMask
=
AliasSeq
!(
ReplaceWithMask
!(
mask
>>
1
,
What
,
Types
[
0
..$ -
1
]),
Types
[$ -
1
])
template
ReplaceWithMask
(ulong mask, ReplacementForZeros, Types...)
static if
(!(
Types.length == 0
))
static if
(
mask & 1
)
alias
ReplaceWithMask
=
AliasSeq
!(
ReplaceWithMask
!(
mask
>> 1,
What
,
Types
[0..$ - 1]),
Types
[$ - 1])
alias
ReplaceWithMask
=
AliasSeq
!(
ReplaceWithMask
!(
mask
>>
1
,
What
,
Types
[
0
..$ -
1
]),
What
)
Meta
Source
See Implementation
flod
meta
ReplaceWithMask
aliases
ReplaceWithMask
What