Search

June 18, 2022
General »
...std.range;
import std.stdio;

void main() {
  alias testType = ulong;
  testType count;
  2.iota!testType...
June 16, 2022
Issues »
...than an alias, since replacing the `static foreach` loop with an explicit alias declaration causes...
June 16, 2022
Learn »
...the output of `getSymbolsByUDA` is just an alias sequence and nothing should happen before consuming...
June 16, 2022
Learn »
...if `this.C` is practically just an alias for `C`.

I still think this is...
June 16, 2022
Learn »
...symbol to the instance or the type/alias, depending if you pass `this` or `Def...
June 16, 2022
Learn »
...static foreach (sym; __traits(allMembers, Def)) {{
            alias member = Alias!(__traits(getMember, Def, sym));
            static if...
June 16, 2022
General »
...writing to references if there is an alias that would make it a conflict:

https...
June 15, 2022
Learn »
...is nothing in the foreach body.

```d
alias ALL = getSymbolsByUDA!(Def, XML);
pragma(msg, ALL...
June 15, 2022
Learn »
...of your code):
```d
import std.sumtype;



alias CC = SumType!(AA,BB);
struct AA {}
struct...
June 14, 2022
Learn »
...test(alias f) {

    auto test(I)(I i) { return f(i); }
}

void main()
{
    alias t...
210 211 212 213 214 215 216 217 218 219 220
Next ›   Last »