ocean ~v6.x.x (2022-01-14T16:08:36.1174149)
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.