Search

June 06, 2021
General »
...return "hello".dup; }
immutable DEFAULT = foo();

void bar(char[] data = DEFAULT.dup) {
    data[0] = '1...
June 06, 2021
General »
...enum WAT = foo();
void main() @safe {
    bar();
}
void bar(int[] data = WAT) @safe
{
    data[0...
June 06, 2021
General »
...the following:
```D
enum DEFAULT = foo();
char[] foo () { return null; }
void bar (char[] arg = DEFAULT);
```
June 02, 2021
Issues »
...dg)
{
    global = dg;
    return dg(2);
}

void bar()
{
    int a = 3;
    scope dg = (int x...
May 29, 2021
Learn »
...d
struct Foo
{
}

class Bar
{
}

void main()
{
    Bar b = new Bar();
    Foo* f = cast(Foo...
May 29, 2021
Learn »
```struct Foo
{
}

class Bar
{
}

void main()
{
    Bar b = new Bar();
    Foo* f = cast(Foo*)b...
May 28, 2021
Issues »
...tricks, from outside, like this:

```d
int bar(int a) {
    static int d;

    static int...
May 25, 2021
Announce »
...in side bar is visible, but they are not clickable. The progress bar is still...
May 20, 2021
General »
...struct Bar {
        int s = 3;
        alias s this;

        T opCast(T)() { return 43; }
    }
    Bar().to...
May 18, 2021
General »
...AAs
    aa["foo"]["bar"] = true; // assigns both aa["foo"] and aa["foo"]["bar"]

With a...
79 80 81 82 83 84 85 86 87 88 89 90
Next ›   Last »