Search

December 28, 2022
Issues »
...crazymonkyyy@gmail.com

```
struct filebydchar{
        dstring me; alias me this;
        this(string s){
                import std...
December 28, 2022
Issues »
...com

```
noreturn stuff() {
    assert(false);
}

void doStuff(alias fun)() {

    // This is a template, so I...
December 27, 2022
Issues »
...i) { }
uint f()
{
    Template!(1) x;
    return 0;
}
immutable constant = f();
alias X = Template!constant;

--
December 27, 2022
Issues »
...also work for me, because templates with alias can probably just be marked as extern...
December 27, 2022
Issues »
...void foo(int){};
alias bar=foo;
void bar(bool){}
alias foobar=bar;
alias foo=foobar...
December 27, 2022
Genel »
...   struct Inner
    {
      Type value;
      alias value this;
    }
  }

  struct MiniIota(Type, int...
December 25, 2022
General »
...alias SYM = __traits(getMember, `~MOD~`, "`~sym~`");`);
				static if (is(SYM == class)) {
					alias CLASS = SYM;
					alias...
December 25, 2022
Issues »
...request #14738 "Fix Issue 23578 - Pattern match alias template parameters in is expre…" was merged...
December 25, 2022
Issues »
...alias template parameters in is expre…" fixing this issue:

- Fix Issue 23578 - Pattern match alias...
December 24, 2022
Learn »
...and associative array capabilities are incredible:

```d
alias oT = int;
enum opMap =
[ "×": (oT a...
151 152 153 154 155 156 157 158 159 160 161
Next ›   Last »