April 21, 2020 Learn » Re: Enum conversion | |||
|---|---|---|---|
| |||
...b1 = ubyte(ZoneNumber.One); // 1 (compiler uses VRP to make this work) auto b2 = ubyte... | |||
April 21, 2020 Learn » Re: Enum conversion | |||
|---|---|---|---|
| |||
...return uint. Oooo… I like this, adding ":ubyte" immediately. -- Russel. =========================================== Dr Russel Winder t: +44... | |||
April 21, 2020 Learn » Re: Enum conversion | |||
|---|---|---|---|
| |||
...x = ZoneNumber.One; ubyte y = x; // fine If you leave off the :ubyte part, the... | |||
April 21, 2020 Learn » Enum conversion | |||
|---|---|---|---|
| |||
...of accessing the value? cast(ubyte)ZoneNumber.One to!ubyte(ZoneNumber.One) conversely what is... | |||
April 20, 2020 Issues » [Issue 20752] New: __traits(isReturnOnStack, func) is incomplete and can't be trusted | |||
|---|---|---|---|
| |||
...main ()
{
//FooBar f;
ubyte[WrapMe.sizeof] binary = 42;
ubyte[] tmp = binary;
scope ubyte[] delegate(size... | |||
April 18, 2020 Learn » Re: Checked!({short, ushort, byte, ubyte}, Throw): compilation fails | |||
|---|---|---|---|
| |||
This should be fixed now. (It actually appears there was a bug in two of... | |||
April 18, 2020 Learn » Re: Checked!({short, ushort, byte, ubyte}, Throw): compilation fails | |||
|---|---|---|---|
| |||
I think that's a compiler bug, not a bug in my checkedint package, as... | |||
April 18, 2020 Learn » Re: Checked!({short, ushort, byte, ubyte}, Throw): compilation fails | |||
|---|---|---|---|
| |||
On Saturday, 18 April 2020 at 08:39:52 UTC, tsbockman wrote: [...] The message suggests... | |||
April 18, 2020 Learn » Re: Checked!({short, ushort, byte, ubyte}, Throw): compilation fails | |||
|---|---|---|---|
| |||
The author of std.experimental.checkedint hasn't (yet) written the opCast overload required to... | |||
April 18, 2020 Learn » Re: Checked!({short, ushort, byte, ubyte}, Throw): compilation fails | |||
|---|---|---|---|
| |||
The author of std.experimental.checkedint hasn't implemented the overload of opCast required to... | |||
Copyright © 1999-2021 by the D Language Foundation