tango ~master (2021-12-14T19:14:08.8989381)
Dub
Repo
Replace
tango
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
tango
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.