tango v1.0.0+2.066 (2014-08-19T00:10:20Z)
Home
Dub
Repo
ReplaceAll
tango
core
Tuple
Returns a Tuple with all occurrences of T replaced with U.
template
ReplaceAll (
T
U
TList
...
) {
alias
ReplaceAll
=
TList
;
alias
ReplaceAll
=
Tuple
!(
U
,
ReplaceAll
!(
T
,
U
,
TList
[
1
..$]))
;
alias
ReplaceAll
=
Tuple
!(
TList
[
0
],
ReplaceAll
!(
T
,
U
,
TList
[
1
..$]))
;
}
Members
Aliases
ReplaceAll
alias
ReplaceAll
=
TList
Undocumented in source.
ReplaceAll
alias
ReplaceAll
=
Tuple
!(
U
,
ReplaceAll
!(
T
,
U
,
TList
[
1
..$]))
Undocumented in source.
ReplaceAll
alias
ReplaceAll
=
Tuple
!(
TList
[
0
],
ReplaceAll
!(
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 all occurrences of T replaced with U.