Search

July 04, 2022
Announce »
...point, that limiting ourselves to the string alias and not supporting wstring or dstring in...
July 03, 2022
Announce »
...complex features.

Templates generally get ugly syntax, alias when you want to store first class...
July 01, 2022
General »
...a, b, c }
alias a = A.a;
alias b = A.b;
alias c = A.c...
July 01, 2022
General »
...a, b, c }
    alias a = A.a;
    alias b = A.b;
    alias c = A.c...
June 30, 2022
General »
...expandEnum;
    foreach(m;__traits(allMembers, EnumType)) {
        expandEnum ~= "alias " ~ m ~ " = " ~ fqnEnumType ~ "." ~ m ~ ";";
    }
    return expandEnum;
}();

enum Color...
June 30, 2022
General »
...enum is actually used.

you can always alias the enums into global scope too, if...
June 29, 2022
Issues »
...maxhaton@gmail.com

```
static import std.stdio;
alias f = std.stdio;
```
yields
2000 lines of...
June 29, 2022
Issues »
...dmd
          Assignee: nobody@puremagic.com
          Reporter: maxhaton@gmail.com

```
module a;

alias m = __traits(parent, {});
```

--
June 27, 2022
General »
...this could perhaps be made to work:
    // alias i = view.i

    this() {
        i = 1; // Works...
June 24, 2022
General »
...if they could inherit rather than using alias this? Even if you never go further...
208 209 210 211 212 213 214 215 216 217 218
Next ›   Last »