Search

April 19, 2022
Learn »
...int x;
   void applyToX(alias fn)() {fn(x);}
}

void applyToX_alt(alias fn)(ref X...
April 19, 2022
Learn »
...static void f_new(alias func)()
    {
        func();
    }
}

void f_new(alias func)()
{
    func();
}

void f...
April 19, 2022
Learn »
...without one being artificially introduced via an alias parameter. `T!int` is essentially just a...
April 19, 2022
Learn »
...template T(P)
{
    static void f_new(alias func)()
    {
        func();
    }
}

void f(FUNC)(FUNC func...
April 18, 2022
Issues »
...new int(i++); // Force @gc impure @system
        }
    }

    alias T = void function() @system nothrow;
    static assert...
April 17, 2022
Issues »
...s == "aaaa"); // string is immutable
    globalVar[] = 'b';   // alias escaped through impure destructor
    assert(s == "aaaa...
April 17, 2022
Learn »
...the following opBinary using vector extensions.
```dlang
alias MatType = typeof(this);

union{
  T[rows*columns...
April 16, 2022
Genel »
...Sıfırdan büyük olmalıydı. (%s)"(i));
  });
}

Sonuc tried(alias dg,                   // <-- İşletilen işlemler
            string dosya = __FILE__,    // Yararlı...
April 16, 2022
Learn »
...09:41:45 UTC, Mathias LANG wrote:

    alias JSONType = JSON_TYPE;

That does not suffice...
April 16, 2022
Learn »
...a(int i) {
        writeln(i);
    }

    auto JSFunction(alias F)() if(isSomeFunction!F) {
        class S {
       	public...
229 230 231 232 233 234 235 236 237 238 239
Next ›   Last »