June 02, 2022 Issues » [Issue 23154] New: Linker error through templated __traits(compiles) in separate compilation unit | |||
|---|---|---|---|
| |||
...is(T : SelfRef!U, U))
alias ResolveThis = T;
else
alias ResolveThis = SelfRef!T[];
}
struct SelfRef... | |||
June 01, 2022 Learn » Re: Templatized delegates | |||
|---|---|---|---|
| |||
...S
{
void doSomething(int value) { value.writeln; }
}
alias DG = void delegate (void delegate(int) doSomething... | |||
May 31, 2022 Learn » Re: Templatized delegates | |||
|---|---|---|---|
| |||
...void doSomething(int value) { s.doSomething(value); }
}
alias DG = void delegate (I i);
auto createDG... | |||
May 31, 2022 Learn » Templatized delegates | |||
|---|---|---|---|
| |||
...void doSomething(T)(T value) { value.writeln; }
}
alias DG = void delegate (ref S s);
auto... | |||
May 30, 2022 Issues » [Issue 18386] mixin ... isn't a template error when used in new scope | |||
|---|---|---|---|
| |||
...these:
string b(alias d)() {
return `writeln("a");`;
}
enum string b(alias d) = `writeln("a... | |||
May 30, 2022 Issues » [Issue 21723] Linker error: two module static library, main compiled inline, invariant that defines a function, type alias, and an alias lambda | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=21723 Dlang Bot <dlang-bot@dlang.rocks... | |||
May 30, 2022 General » Re: Why is D unpopular? | |||
|---|---|---|---|
| |||
...makeup on syntax - complete some features (like alias) How that is done is less important... | |||
May 30, 2022 Issues » [Issue 21723] Linker error: two module static library, main compiled inline, invariant that defines a function, type alias, and an alias lambda | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=21723 Dlang Bot <dlang-bot@dlang.rocks... | |||
May 30, 2022 Issues » [Issue 23148] New: Missing invariant symbol with static library when template function declares struct with destructor and invariant that instantiates template with lambda, also main has a lambda | |||
|---|---|---|---|
| |||
...invariant { alias a = {}; match!a(); }
}
void match(alias handler)() { }
b.d:
import a;
alias l... | |||
May 28, 2022 General » Re: Checking if a type is void | |||
|---|---|---|---|
| |||
...d
void doSomethingWith(int n) {}
void example(alias foo)()
{
static if (is(typeof(*foo) == int... | |||
Copyright © 1999-2021 by the D Language Foundation