Search

November 15, 2021
General »
...like 'alias template literal' syntax: `alias(B) => B.sizeof`

The only problem is currently `alias...
November 15, 2021
General »
...foo(x: 100, z: 200);

auto apply(alias f,T...)(T args){ return f(args...
November 14, 2021
Genel »
...main() {
  import std.meta;
  import std.traits;

  alias işlevler = AliasSeq!(korumasız, korumalı, atomicOpİle, casİle);

  foreach...
November 14, 2021
Learn »
...myClass{} // nothing to see here

void main()
{
    alias allMembersOfThisModule = __traits(allMembers, mixin(__MODULE__));
    string memberFile...
November 13, 2021
General »
...code.

Smaller nitpic, I'd also prefer `opUnary(string op)()(if op == "*")` to `alias this`.
November 13, 2021
General »
Just define a new keyword for unshared immutable and make "immutable" an alias.

November 13, 2021
General »
...a `P`
        return cast(P) data.address;
    }

    alias ptr this;
}
```

[Try it yourself on `run...
November 12, 2021
Issues »
...class has alias this to inout
property

  The cast expression was trying an 'alias this...
November 12, 2021
Issues »
...class has alias this to inout property

  The cast expression was trying an 'alias this...
November 10, 2021
Issues »
...foo(alias f)(int x) { return f(x); }

struct S {
    static int staticFoo(alias f...
269 270 271 272 273 274 275 276 277 278 279
Next ›   Last »