Search

May 03, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=23082

--- Comment #1 from FeepingCreature <default_357...
May 03, 2022
Issues »
...Issue ID: 23082
           Summary: stringof of template alias overloaded with function
                    accessed by trait: segfault...
May 03, 2022
General »
...at 07:29:24 UTC, Max Samukha wrote:

alias format(A...) = (string format, A args)
May 03, 2022
General »
...not so well for more involved ones:

alias format(A...) = (string format, A args...)
{
    string...
May 03, 2022
Learn »
I haven't read all of the posts in this thread, but D in general...
May 03, 2022
Learn »
...what's needed here is a literal _alias_. There's no ambiguity, no extra template...
May 03, 2022
Learn »
...correcting the code

```d
template MyAlias(T){
      alias MyAlias = int;
    }
    // Please note that I changed...
May 03, 2022
Learn »
...For example, here:
```d
template MyAlias(T){
      alias MyAlias = int;
    }
    // Please note that I changed...
May 03, 2022
Learn »
And what does it return?
May 02, 2022
Learn »
Maybe I am being silly, but it isn't possible to determine T here. Independent...
223 224 225 226 227 228 229 230 231 232 233
Next ›   Last »