mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 06:00:35 +03:00
Update std/conv.d
This commit is contained in:
parent
7d012ab076
commit
b29f127886
1 changed files with 1 additions and 4 deletions
|
@ -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)
|
auto toChars(ubyte radix = 10, Char = char, LetterCase letterCase = LetterCase.lower, T)(T value)
|
||||||
pure nothrow @nogc @safe
|
pure nothrow @nogc @safe
|
||||||
if ((radix == 2 || radix == 8 || radix == 10 || radix == 16) &&
|
if ((radix == 2 || radix == 8 || radix == 10 || radix == 16) &&
|
||||||
(is(immutable T == immutable ubyte) || is(immutable T == immutable ushort) || is(
|
isIntegral!T && (radix == 10 || isUnsigned!T))
|
||||||
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))))
|
|
||||||
{
|
{
|
||||||
alias UT = Unqual!T;
|
alias UT = Unqual!T;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue