Search

April 21, 2020
Learn »
...b1 = ubyte(ZoneNumber.One); // 1 (compiler uses VRP to make this work)
auto b2 = ubyte...
April 21, 2020
Learn »
...return uint.

Oooo… I like this, adding ":ubyte" immediately.

-- 
Russel.
===========================================
Dr Russel Winder      t: +44...
April 21, 2020
Learn »
...x = ZoneNumber.One;
ubyte y = x; // fine

If you leave off the :ubyte part, the...
April 21, 2020
Learn »
...of accessing the value?

cast(ubyte)ZoneNumber.One
to!ubyte(ZoneNumber.One)

conversely what is...
April 20, 2020
Issues »
...main ()
{
    //FooBar f;
    ubyte[WrapMe.sizeof] binary = 42;
    ubyte[] tmp = binary;

    scope ubyte[] delegate(size...
April 18, 2020
Learn »
This should be fixed now.

(It actually appears there was a bug in two of...
April 18, 2020
Learn »
I think that's a compiler bug, not a bug in my checkedint package, as...
April 18, 2020
Learn »
On Saturday, 18 April 2020 at 08:39:52 UTC, tsbockman wrote:

[...]

The message suggests...
April 18, 2020
Learn »
The author of std.experimental.checkedint hasn't (yet) written the opCast overload required to...
April 18, 2020
Learn »
The author of std.experimental.checkedint hasn't implemented the overload of opCast required to...
98 99 100 101 102 103 104 105 106 107 108
Next ›   Last »