Search

February 01, 2023
Issues »
https://issues.dlang.org/show_bug.cgi?id=11907

Nick Treleaven <nick@geany.org> changed...
February 01, 2023
General »
...struct S
{
    private int a_;

    public rvalue alias a = this.a_;
}
```

But then we're...
January 30, 2023
General »
...variable with something like Haskell arrows [1]:

```
alias updateTimes = visit => visit
    .rebuild!(a => a.arrival...
January 30, 2023
Genel »
...tanımlanabiliyor:

```d
struct S {
  float a, b;

  alias opBin = float delegate();
  opBin[string] ops;
}

void...
January 30, 2023
General »
...d
  this(R)(R[] data) { opCall(data); }

  alias opCall this;
  @property opCall() inout { return data...
January 29, 2023
General »
...data), data);
  }
}

unittest
{
  S!char test1, test2;
  alias TestType = typeof(test1.data);

  import std.traits...
January 28, 2023
Learn »
...alias earlyFuns = Filter!(isEarlyFun, this.allEventHandlerFunctionsInModule);

///Pseudo code expanded representation:


    template setupFuns alias pred)
    {
        alias...
January 28, 2023
Learn »
...Timing.cleanup);
alias hasSpecialTiming = templateOr!(isSetupFun, isEarlyFun, isLateFun, isCleanupFun);
alias isNormalEventHandler = templateNot!hasSpecialTiming;

alias setupFuns...
January 26, 2023
Issues »
...length];
    }
}

struct SmallSet(K, ushort capacity) {
    private alias V = ubyte[1];
    private SmallTable!(K, V...
January 26, 2023
Issues »
...is a bad feature regardless.

```
struct S {};

alias t = __traits(toType, "S6totype1S");
```

then make a...
140 141 142 143 144 145 146 147 148 149 150
Next ›   Last »