August 04, 2022 General » Re: Using Enums to Generate Scoped List of Names | |||
|---|---|---|---|
| |||
...static foreach (mem; __traits(allMembers, E))
mixin("alias "~mem~" = Impl!(1 << E."~mem~");");
}
enum F... | |||
August 03, 2022 Issues » [Issue 23281] [REG2.099] Cannot pass alias template overload to template ("is not a template, it is a function") | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23281 --- Comment #1 from johanengelen@weka.io... | |||
August 03, 2022 Issues » [Issue 22720] Overload of template and alias to template instantiation that is also a template fails | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=22720 --- Comment #2 from johanengelen@weka.io... | |||
August 03, 2022 Issues » [Issue 22720] Overload of template and alias to template instantiation that is also a template fails | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=22720
johanengelen@weka.io changed:
What |Removed... | |||
August 03, 2022 Issues » [Issue 23281] [REG2.099] Cannot pass alias template overload to template ("is not a template, it is a function") | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23281
johanengelen@weka.io changed:
What |Removed... | |||
August 03, 2022 Issues » [Issue 23281] New: [REG2.099] Cannot pass alias template overload to template ("is not a template, it is a function") | |||
|---|---|---|---|
| |||
...old(long a) {}
alias foo(I: int) = foo_old;
}
void templ(alias IMPL)() {
pragma(msg... | |||
August 03, 2022 Learn » Obsecure problem 2 | |||
|---|---|---|---|
| |||
...std.functional;
template foo(alias predicate)
if (is(typeof(unaryFun!predicate)))
{
alias notfunny=unaryFun!predicate... | |||
August 03, 2022 Issues » [Issue 23140] Array!T where T is a shared class no longer works | |||
|---|---|---|---|
| |||
...W == immutable bool)) //Change 'T' to 'W'
{
alias T = Unshared!W; //Fix https://issues.dlang... | |||
August 03, 2022 Learn » Re: How to cast away shared? | |||
|---|---|---|---|
| |||
...s only two lines: ```d alias Unshared(T) = T; alias Unshared(T: shared U, U... | |||
August 02, 2022 Learn » Re: Breaking ";" rule with lambda functions | |||
|---|---|---|---|
| |||
...filter!((a) { return a > 0; })` or
```d
alias criteria = (a) { return a > 0; };
auto r... | |||
Copyright © 1999-2021 by the D Language Foundation