Search

November 26
Issues »
...0)
    {
        abcd[0] = innerproduct(abcd, point1);
    }
}

void main()
{
    double[4] a = 0.0;
    inlinebug(a...
November 25
Issues »
...error:

struct S {
    int[2] i;
}

void main()
{
    S s;
    s = cast(S) cast(short...
November 25
Issues »
...int) a;
void function(int) b;

void main()
{
    const c = *a == *b;
    // assert(*a); // rejected...
November 25
Issues »
...void f(char){}
void f(double){}

void main()
{
    auto badAddrOfOverSet = &f;
    f(0.0);
}
```

and...
November 25
Learn »
...E)e).to!string); // OK
    return e;
}

void main()
{
    fun(1);
    gun(E.One);
}
```

-- Bastiaan
November 25
Issues »
...error : struct `main.Test` no size because of forward reference error : template instance `main.Container...
November 23
Issues »
...T...)
{
    T fields;
    alias fields this;
}

void main ()
{
   Tuple!(string) tup;
   static foreach (j, t...
November 23
Issues »
...com

This code compiles just fine

---
void main() @safe
{
    Foo foo;
    auto foo2 = foo;
    foo...
November 23
Issues »
...vogtner.de

crash.d:
```
import std;

void main ()
{
   auto tup = tuple!(string, string, string);
   static...
November 22
Issues »
...S
{
    int n;
    @disable this(this);
}

void main()
{
    import std.stdio;

    S[1] arr = [S...
1 2 3 4 5 6 7 8 9 10
Next ›   Last »