Alias to template instance wokrs, but non-template does not?

Dukc ajieskola at gmail.com
Wed May 15 07:10:01 UTC 2019


On Tuesday, 14 May 2019 at 14:36:21 UTC, Q. Schroll wrote:
> [snip]
> I've filed a bug report [1] some time ago. I'm posting here, 
> because I want to understand what's going on here.

I read through this post and while I don't know precisely what 
the compiler is thinking, it seems for me that your reasoning 
that this is a bug is correct.

I quess that either the compiler instantiates opApplyImpl with 
something else than alias opApply specifies (it shouldn't) or 
(more likely) template attribute inference malfunctions.


More information about the Digitalmars-d-learn mailing list