March 22, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...include <type_traits>
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. | |||
|---|---|---|---|
| |||
On Wednesday, 22 March 2023 at 11:00:40 UTC, zjh wrote: ```d alias Vec3... | |||
March 22, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...more syntactically constrained?
```
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. | |||
|---|---|---|---|
| |||
You can perfectly fine use `alias Vector3(T) = Matrix!(T, 3, 1)` in D. You... | |||
March 22, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
When you have questions, please file a bugzilla. D is only for `specific problems`, please... | |||
March 22, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...know how C++ compilers resolve `template using` just fine. ```C++ template <typename T> using Vector3... | |||
March 22, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...the problem. You can't infer the template instantiation that produced the alias, because the... | |||
March 22, 2023 Learn » Re: Threads | |||
|---|---|---|---|
| |||
...module: Error: none of the overloads of template `std.getopt.getopt` are callable using argument... | |||
March 22, 2023 Learn » Re: Threads | |||
|---|---|---|---|
| |||
...module. Error: none of the overloads of template `std.getopt.getopt` are callable using argument... | |||
March 22, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
Wow, I didn't know this too wouldn't work. So `isInstanceOf!(identity, five)` will... | |||
Copyright © 1999-2021 by the D Language Foundation