June 26, 2020 Issues » [Issue 19399] Different Conversion Rules for Same Value and Type -- Enum | |||
|---|---|---|---|
| |||
...f(ubyte) be used to call the f(ushort)?" The answer is yes, because ubyte... | |||
June 22, 2020 Genel » to!string kullanımı hakkında | |||
|---|---|---|---|
| |||
...format;
writefln!"%s: %02x%s"(i,
cast(ubyte)c,
(isPrintable(c)
? format!" %s"(c)
: ""));
}
}
void... | |||
June 22, 2020 Learn » Re: Some questions about strings | |||
|---|---|---|---|
| |||
...the bytes. If you cast it to ubyte[] and print that out you can see... | |||
June 22, 2020 Issues » [Issue 17712] [REG 2.074] [LINK] Undefined reference to std.conv.toChars!(10, char, 1, uint).toChars(uint) | |||
|---|---|---|---|
| |||
...InversionList()
{
void toSourceCode()
{
toChars(0u);
}
}
void toChars(ubyte radix = 10, T)(T) {}
=============================================
// test.d:
void... | |||
June 16, 2020 General » Re: fake RefCounted for CTFE? | |||
|---|---|---|---|
| |||
...use GC.malloc at ctfe but `new ubyte[](N)` works fine. You could even do... | |||
June 13, 2020 General » Re: What's wrong with std.variant.Variant? | |||
|---|---|---|---|
| |||
...should be no reason Algebraic!(char, byte, ubyte) should eat more than 2 bytes. Yah... | |||
June 13, 2020 General » Re: Contracts, Undefined Behavior, and Defensive,Programming | |||
|---|---|---|---|
| |||
...returns (1 + 2 + ... + n) / n */ double sumDiv(ubyte n) @safe; Nowhere is it stated what... | |||
June 13, 2020 General » Re: Contracts, Undefined Behavior, and Defensive,Programming | |||
|---|---|---|---|
| |||
...returns (1 + 2 + ... + n) / n
*/
double sumDiv(ubyte n) @safe
{
double accum = 0;
for (size... | |||
June 11, 2020 Learn » Re: Does std.net.curl: download have support for callbacks? | |||
|---|---|---|---|
| |||
...Wikipedia-logo-en-big.png";
http.onReceive = (ubyte[] data) { bytesTotal = 0; bytesReceived = 0; return data... | |||
June 10, 2020 General » Re: Feedback Thread: DIP 1035--@system Variables--Community Review Round 1 | |||
|---|---|---|---|
| |||
...adapted example from the DIP:
enum Opcode : ubyte {
decrement, increment, print,
}
struct VmInstruction {
@system Opcode... | |||
Copyright © 1999-2021 by the D Language Foundation