Search

March 17, 2023
General »
...an error whenever it sees a template alias in `is` expression, because currently the result...
March 17, 2023
General »
...use a template alias (which s/he may not know is an alias) in an...
March 16, 2023
General »
...template and the thing it gets:

```d
alias Foo(T) = int;

// the following are equivalent...
March 16, 2023
Learn »
...d
alias VariableAllocator = ThreadLocal!(FreeList!(Mallocator, Variable.sizeof, unbounded));
```

should be this instead:

```d
alias...
March 16, 2023
Learn »
...variableAllocator = allocatorObject(FreeList!(Mallocator, Variable.sizeof, unbounded)());
alias VariableAllocator = ThreadLocal!(FreeList!(Mallocator, Variable.sizeof, unbounded...
March 16, 2023
General »
...is(S == int))
        alias Vec3_alt = Matrix!(S, 3, 1);
    else
        alias Vec3_alt = real...
March 16, 2023
General »
...25): Error: struct `test.PgHdr` conflicts with alias `test.PgHdr` at /pcache.h(18)
```

```c...
March 16, 2023
General »
The compiler should at least report it as an error: `is` cannot handle template alias.
March 16, 2023
Learn »
...S, size_t M, size_t N)
{
}

alias Vec3(S) = Matrix!(S, 3, 1);

void...
March 16, 2023
Learn »
...S, size_t M, size_t N)
{
}

alias Vec3(S) = Matrix!(S, 3, 1);

void...
127 128 129 130 131 132 133 134 135 136 137
Next ›   Last »