Update std/conv.d

This commit is contained in:
Dennis 2023-12-30 15:22:21 +01:00 committed by GitHub
parent 7d012ab076
commit b29f127886
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5721,10 +5721,7 @@ private auto hexStrLiteral(String)(scope String hexData)
auto toChars(ubyte radix = 10, Char = char, LetterCase letterCase = LetterCase.lower, T)(T value)
pure nothrow @nogc @safe
if ((radix == 2 || radix == 8 || radix == 10 || radix == 16) &&
(is(immutable T == immutable ubyte) || is(immutable T == immutable ushort) || is(
immutable T == immutable uint) || is(immutable T == immutable ulong) ||
radix == 10 && (is(immutable T == immutable byte) || is(immutable T == immutable short) || is(
immutable T == immutable int) || is(immutable T == immutable long))))
isIntegral!T && (radix == 10 || isUnsigned!T))
{
alias UT = Unqual!T;