mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 21:51:40 +03:00
Replace is(Unqual!T == Unqual!U) with is(immutable T == immutable U) for speed & memory usage
This commit is contained in:
parent
a4d8029c48
commit
453faadf5b
31 changed files with 169 additions and 173 deletions
|
@ -1942,7 +1942,7 @@ ElementEncodingType!(ElementType!RoR)[] join(RoR, R)(RoR ror, scope R sep)
|
|||
if (isInputRange!RoR &&
|
||||
isInputRange!(Unqual!(ElementType!RoR)) &&
|
||||
isInputRange!R &&
|
||||
is(Unqual!(ElementType!(ElementType!RoR)) == Unqual!(ElementType!R)))
|
||||
is(immutable ElementType!(ElementType!RoR) == immutable ElementType!R))
|
||||
{
|
||||
alias RetType = typeof(return);
|
||||
alias RetTypeElement = Unqual!(ElementEncodingType!RetType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue