March 23, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...version of `f` not using the alias template in the parameter list: ``` struct B (T... | |||
March 23, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...I can. ```C++ template <typename T> using Vector3 = Matrix<T, 3, 1>; template <typename T... | |||
March 23, 2023 Issues » [Issue 20458] CRTP + pass alias to virtual member to mixin = runtime crash | |||
|---|---|---|---|
| |||
...same corruption without the getMember trait:
```
mixin template Impl(T){
alias a = T.test;
pragma... | |||
March 23, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
There are already a ton issues about this filed, including Steven's 16 years old... | |||
March 22, 2023 Issues » [Issue 20458] CRTP + pass alias to virtual member to mixin = runtime crash | |||
|---|---|---|---|
| |||
...b2.temp@gmx.com> ---
reduced further
```
mixin template Impl(T){
alias a = __traits(getMember, T... | |||
March 22, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...March 2023 at 13:29:56 UTC, jmh530 wrote: Right,`template alias` is very important! | |||
March 22, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...want on the template or on static if's within the template). You can place... | |||
March 22, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
Ah, thank you! Yeah now that I see it's more about specifically recognizing and... | |||
March 22, 2023 Issues » [Issue 23798] New: Type inference should traverse trivial aliases | |||
|---|---|---|---|
| |||
...simple alias templates:
```
template <typename T, int M, int N>
struct Matrix {
};
template <typename T... | |||
March 22, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
What the OP is referring to is an old D bug [1]. In this thread... | |||
Copyright © 1999-2021 by the D Language Foundation