July 04, 2022 Announce » Re: The D Programming Language Vision Document | |||
|---|---|---|---|
| |||
...point, that limiting ourselves to the string alias and not supporting wstring or dstring in... | |||
July 03, 2022 Announce » Re: The D Programming Language Vision Document | |||
|---|---|---|---|
| |||
...complex features. Templates generally get ugly syntax, alias when you want to store first class... | |||
July 01, 2022 General » Re: DIPX: Enum Literals / Implicit Selector Expression | |||
|---|---|---|---|
| |||
...a, b, c } alias a = A.a; alias b = A.b; alias c = A.c... | |||
July 01, 2022 General » Re: DIPX: Enum Literals / Implicit Selector Expression | |||
|---|---|---|---|
| |||
...a, b, c }
alias a = A.a;
alias b = A.b;
alias c = A.c... | |||
June 30, 2022 General » Re: DIPX: Enum Literals / Implicit Selector Expression | |||
|---|---|---|---|
| |||
...expandEnum;
foreach(m;__traits(allMembers, EnumType)) {
expandEnum ~= "alias " ~ m ~ " = " ~ fqnEnumType ~ "." ~ m ~ ";";
}
return expandEnum;
}();
enum Color... | |||
June 30, 2022 General » DIPX: Enum Literals / Implicit Selector Expression | |||
|---|---|---|---|
| |||
...enum is actually used. you can always alias the enums into global scope too, if... | |||
June 29, 2022 Issues » [Issue 23223] New: Aliases to modules print the modules contents into ast dump | |||
|---|---|---|---|
| |||
...maxhaton@gmail.com ``` static import std.stdio; alias f = std.stdio; ``` yields 2000 lines of... | |||
June 29, 2022 Issues » [Issue 23222] New: vcg-ast segfaults on aliases to parent module | |||
|---|---|---|---|
| |||
...dmd
Assignee: nobody@puremagic.com
Reporter: maxhaton@gmail.com
```
module a;
alias m = __traits(parent, {});
```
-- | |||
June 27, 2022 General » Re: Class views - a new concept | |||
|---|---|---|---|
| |||
...this could perhaps be made to work:
// alias i = view.i
this() {
i = 1; // Works... | |||
June 24, 2022 General » Re: Exploring the philosophy of objects | |||
|---|---|---|---|
| |||
...if they could inherit rather than using alias this? Even if you never go further... | |||
Copyright © 1999-2021 by the D Language Foundation