Search

January 28, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=18910

RazvanN <razvan.nitu1305@gmail.com> changed...
January 28, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=22540

RazvanN <razvan.nitu1305@gmail.com> changed...
January 28, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=3538

RazvanN <razvan.nitu1305@gmail.com> changed...
January 27, 2022
Learn »
...0) {
    import std.meta : AliasSeq;
    alias MODULES = AliasSeq!__MODULE__;

  } else {
    alias MODULES = MODULES_;
  }
}

2)

void...
January 27, 2022
Learn »
...d
void foo(MODULES...)()
{
    writeln(MODULES.stringof);
}
alias foo(string MODULE = __MODULE__) = foo!(mixin(MODULE...
January 27, 2022
General »
...I would do then.

```d
auto interpolateImpl(alias fn, Vals...)(ref Vals vals) if (is...
January 27, 2022
Learn »
...alias Modules = AliasSeq!(FirstModule, RestModules);
    // things
}

// foo!(module1, module2) => alias Modules = (module1, module2)
// foo!() => alias...
January 27, 2022
Issues »
...the result is the same.
```
alias Ref = mixin("T." ~ name);
...
alias Type2 = typeof(mixin("T...
January 26, 2022
General »
...result;
    if (__ctfe)
    {
        foreach (field; FieldNameTuple!T)
        {
            alias F = typeof(__traits(getMember, T, field));
            static...
January 26, 2022
General »
...type encountered?

e.g.:

```d
auto interpolate(alias fn, X : double)(ref X val1, ref...
248 249 250 251 252 253 254 255 256 257 258
Next ›   Last »