ocean v6.1.0 (2021-04-20T01:38:04Z)
Home
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.