May 03, 2022 Issues » [Issue 23082] stringof of template alias overloaded with function accessed by trait: segfault. | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23082 --- Comment #1 from FeepingCreature <default_357... | |||
May 03, 2022 Issues » [Issue 23082] New: stringof of template alias overloaded with function accessed by trait: segfault. | |||
|---|---|---|---|
| |||
...Issue ID: 23082
Summary: stringof of template alias overloaded with function
accessed by trait: segfault... | |||
May 03, 2022 General » Re: Why is D unpopular? | |||
|---|---|---|---|
| |||
...at 07:29:24 UTC, Max Samukha wrote: alias format(A...) = (string format, A args) | |||
May 03, 2022 General » Re: Why is D unpopular? | |||
|---|---|---|---|
| |||
...not so well for more involved ones:
alias format(A...) = (string format, A args...)
{
string... | |||
May 03, 2022 Learn » Re: Parameters declared as the alias of a template won't accept the arguments of the same type. | |||
|---|---|---|---|
| |||
I haven't read all of the posts in this thread, but D in general... | |||
May 03, 2022 Learn » Re: Parameters declared as the alias of a template won't accept the arguments of the same type. | |||
|---|---|---|---|
| |||
...what's needed here is a literal _alias_. There's no ambiguity, no extra template... | |||
May 03, 2022 Learn » Re: Parameters declared as the alias of a template won't accept the arguments of the same type. | |||
|---|---|---|---|
| |||
...correcting the code
```d
template MyAlias(T){
alias MyAlias = int;
}
// Please note that I changed... | |||
May 03, 2022 Learn » Re: Parameters declared as the alias of a template won't accept the arguments of the same type. | |||
|---|---|---|---|
| |||
...For example, here:
```d
template MyAlias(T){
alias MyAlias = int;
}
// Please note that I changed... | |||
May 03, 2022 Learn » Re: Parameters declared as the alias of a template won't accept the arguments of the same type. | |||
|---|---|---|---|
| |||
And what does it return? | |||
May 02, 2022 Learn » Re: Parameters declared as the alias of a template won't accept the arguments of the same type. | |||
|---|---|---|---|
| |||
Maybe I am being silly, but it isn't possible to determine T here. Independent... | |||
Copyright © 1999-2021 by the D Language Foundation