Search

April 02, 2022
Learn »
...import std.sumtype;
import std.algorithm : cmp;

alias VarType = SumType!(double, ubyte[]);

int opCmp(const...
April 02, 2022
Learn »
...container.rbtree;
import std.stdio;
void main() {
  alias Type = Char;

  with(new RedBlackTree!(Type))
  {
    stableInsert...
April 02, 2022
General »
...cent/ucent have been dropped as keywords.

alias cent = __c__int128;
alias ucent = __c__uint128;

April 02, 2022
General »
...0);
            return n.get();
        }
    }

alias PanicGet = ErrorGet!((a){assert(a);});
alias ThrowGet = ErrorGet!(enforce);

    void...
April 01, 2022
Learn »
...rbtree;
  import std.variant;
	
  // alias Type = int;  // Works with no problem.
  alias Type = Variant; // Produces...
April 01, 2022
General »
As long as the compiler errors display the alias and not the traits.

-Steve
April 01, 2022
Genel »
...üstünü okuyunca herhangi bir işlevi yeniden adlandırılabildiğini (alias yaz = writef; gibi) bilmiyordum. Şimdi birkaç deneme...
April 01, 2022
General »
...hardware support and you just replace the alias.

I don't know. As long as...
April 01, 2022
General »
...this look something like
```d
alias i128 = __traits(signed, 128);
alias u512 = __traits(unsigned, 512...
March 31, 2022
General »
...signed, 512)` and so on, plus some `alias ducent = __traits(signed, 256)` in object.d...
234 235 236 237 238 239 240 241 242 243 244
Next ›   Last »