Search

August 03, 2021
General »
...aa[0]` as an rvalue, so no dummy element is inserted. However, `aa[0] ~= element...
August 03, 2021
General »
Having to insert dummy variables into an associative array in order to initialize it (and...
July 30, 2021
Learn »
...enforce;

    main(["exe"]);
    enforce(false, new Exception("dummy"));
}

@testCLI unittest {
    main(["exe", "up to main...
July 23, 2021
Learn »

you are right. in the pseudocode, i wanted to say: `ii[i] = somefunc(dummy);`
July 22, 2021
Learn »
Consider :

    int [] ii;
    foreach(i,dummy; parallel(somearray)) {
      ii ~= somefunc(dummy);
    }


This is not safe...
July 20, 2021
General »
...immutable
        inout
        shared
        __gshared
        Property
        nothrow
        pure
        ref
    ```


deprecated x = new Object;

@dummy y = 1;

July 14, 2021
Learn »
...alias ResultType = real;
    } else {
        alias ResultType = void; // dummy
    }
    // code relying on ResultType
}
```

A benefit of...
July 14, 2021
Learn »
Weirdly, adding a dummy `ResultType` declaration to the `else` branch makes the assert message show...
July 07, 2021
Learn »
...the container for those based on a dummy struct.

Like going from:
```
db.entities.add...
June 29, 2021
General »
...the function pointers to be initialized to dummy functions which do nothing.

Let's have...
4 5 6 7 8 9 10 11 12 13 14 15
Next ›   Last »