March 17, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...an error whenever it sees a template alias in `is` expression, because currently the result... | |||
March 17, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...use a template alias (which s/he may not know is an alias) in an... | |||
March 16, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...template and the thing it gets: ```d alias Foo(T) = int; // the following are equivalent... | |||
March 16, 2023 Learn » Re: Global thread-local free-list allocator | |||
|---|---|---|---|
| |||
...d alias VariableAllocator = ThreadLocal!(FreeList!(Mallocator, Variable.sizeof, unbounded)); ``` should be this instead: ```d alias... | |||
March 16, 2023 Learn » Global thread-local free-list allocator | |||
|---|---|---|---|
| |||
...variableAllocator = allocatorObject(FreeList!(Mallocator, Variable.sizeof, unbounded)()); alias VariableAllocator = ThreadLocal!(FreeList!(Mallocator, Variable.sizeof, unbounded... | |||
March 16, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...is(S == int))
alias Vec3_alt = Matrix!(S, 3, 1);
else
alias Vec3_alt = real... | |||
March 16, 2023 General » Re: try importC on macOS, get this error | |||
|---|---|---|---|
| |||
...25): Error: struct `test.PgHdr` conflicts with alias `test.PgHdr` at /pcache.h(18) ``` ```c... | |||
March 16, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
The compiler should at least report it as an error: `is` cannot handle template alias. | |||
March 16, 2023 Learn » Re: Is this a bug? | |||
|---|---|---|---|
| |||
...S, size_t M, size_t N)
{
}
alias Vec3(S) = Matrix!(S, 3, 1);
void... | |||
March 16, 2023 Learn » Is this a bug? | |||
|---|---|---|---|
| |||
...S, size_t M, size_t N)
{
}
alias Vec3(S) = Matrix!(S, 3, 1);
void... | |||
Copyright © 1999-2021 by the D Language Foundation