May 13, 2023 Issues » [Issue 23916] Non-eponymous template instances have a "type" (void) | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23916 --- Comment #6 from Vladimir Panteleev <dlang... | |||
May 13, 2023 Issues » [Issue 23916] Non-eponymous template instances have a "type" (void) | |||
|---|---|---|---|
| |||
...a type itself. Why is it a problem if a template instance has a type? -- | |||
May 13, 2023 Issues » [Issue 23916] Non-eponymous template instances have a "type" (void) | |||
|---|---|---|---|
| |||
...Why should we not deprecate then remove taking the type of a template / template instance? -- | |||
May 13, 2023 Issues » [Issue 23916] Non-eponymous template instances have a "type" (void) | |||
|---|---|---|---|
| |||
...break code like this:
import std.stdio;
template t()
{
int i;
}
void f(alias a... | |||
May 12, 2023 Issues » [Issue 23918] New: Lambdas declared as "function" should be static and not have a context | |||
|---|---|---|---|
| |||
...need for context auto-detected like normal template functions... if the user writes the keyword... | |||
May 12, 2023 Issues » [Issue 23916] Non-eponymous template instances have a "type" (void) | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23916 --- Comment #2 from Vladimir Panteleev <dlang... | |||
May 12, 2023 Issues » [Issue 23916] Non-eponymous template instances have a "type" (void) | |||
|---|---|---|---|
| |||
...type of a template instance is defined in the spec. A template instance seems similar... | |||
May 12, 2023 Issues » [Issue 23916] New: Non-eponymous template instances have a "type" (void) | |||
|---|---|---|---|
| |||
...not compile:
//// test.d ////
template X() {}
void fun()
{
return X!();
}
////////////////
Template instances having a type... | |||
May 12, 2023 Issues » [Issue 23915] New: Instance method properties not evaluated when passed to template value argument | |||
|---|---|---|---|
| |||
...test.d(10): Error: template instance `T!(getValue)` does not match template declaration `T(bool... | |||
May 12, 2023 Issues » [Issue 23914] "auto ref" resolution prevented by bottom type | |||
|---|---|---|---|
| |||
...1 from mhh <maxhaton@gmail.com> --- Isn't `auto ref` for template function parameters only? -- | |||
Copyright © 1999-2021 by the D Language Foundation