Search

June 02, 2022
Issues »
...is(T : SelfRef!U, U))
        alias ResolveThis = T;
    else
        alias ResolveThis = SelfRef!T[];
}

struct SelfRef...
June 01, 2022
Learn »
...S
{
    void doSomething(int value) { value.writeln; }
}

alias DG = void delegate (void delegate(int) doSomething...
May 31, 2022
Learn »
...void doSomething(int value) { s.doSomething(value); }
}

alias DG = void delegate (I i);

auto createDG...
May 31, 2022
Learn »
...void doSomething(T)(T value) { value.writeln; }
}

alias DG = void delegate (ref S s);

auto...
May 30, 2022
Issues »
...these:

string b(alias d)() {
    return `writeln("a");`;
}

enum string b(alias d) = `writeln("a...
May 30, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=21723

Dlang Bot <dlang-bot@dlang.rocks...
May 30, 2022
General »
...makeup on syntax
- complete some features (like alias)

How that is done is less important...
May 30, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=21723

Dlang Bot <dlang-bot@dlang.rocks...
May 30, 2022
Issues »
...invariant { alias a = {}; match!a(); }

}
void match(alias handler)() { }

b.d:

import a;
alias l...
May 28, 2022
General »
...d
void doSomethingWith(int n) {}

void example(alias foo)()
{
    static if (is(typeof(*foo) == int...
215 216 217 218 219 220 221 222 223 224 225
Next ›   Last »