Search

October 03
Issues »
...unittest
{
    auto s0 = S([1,2,3]); //OK
    import std.conv : emplace;
    import std.array...
October 03
General »
...const(int)*
    f!(const(int)*)(x, &y); // ok
}
```

I tried reversing the order to see...
September 30
Learn »
...at runtime
short s = i.to!short; // OK, range check passes

enum E { a=10...
September 27
Learn »
...tried it and it seemed to work OK.

Wondering if there are any good reasons...
September 26
General »
...extern export (Type) x; // ok
extern static (Type) y; // ok
extern @0 (Type) z; // ok
```
September 24
DIP Development »
...zero.

At which point yes, can overflow.

Ok, do a length check first and the...
September 21
Learn »
...true;
}

void main()
{
    TouristType1 Juan;
    Juan.findPlaceToEat();      // OK Juan will not starve to death
    TouristType2...
September 21
DIP Ideas »
Ok so basically implicit conversions with optional target type.

As long as it is defined...
September 13
General »
Ok, thanks for the explanation. The branch predictor on CPUs defaults to a forward branch...
September 13
DIP Ideas »
...allowed:
```d
void a, b;
b = a; // OK
:X x;
:Y y = x; // error, can...
1 2 3 4 5 6 7
Next ›   Last »