ocean ~master (2021-10-22T21:44:26.740458)
Dub
Repo
Replace
ocean
core
Tuple
Returns a Tuple with the first offuccrence of T replaced with U.
template
Replace (
T
U
TList
...
) {
alias
Replace
=
TList
;
alias
Replace
=
Tuple
!(
U
,
TList
[
1
..$])
;
alias
Replace
=
Tuple
!(
TList
[
0
],
Replace
!(
T
,
U
,
TList
[
1
..$]))
;
}
Members
Aliases
Replace
alias
Replace
=
TList
Undocumented in source.
Replace
alias
Replace
=
Tuple
!(
U
,
TList
[
1
..$])
Undocumented in source.
Replace
alias
Replace
=
Tuple
!(
TList
[
0
],
Replace
!(
T
,
U
,
TList
[
1
..$]))
Undocumented in source.
Meta
Source
See Implementation
ocean
core
Tuple
templates
DerivedToFront
IndexOf
MostDerived
Remove
RemoveAll
Replace
ReplaceAll
Reverse
Tuple
Unique
Returns a Tuple with the first offuccrence of T replaced with U.