Templates, D way

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 5 07:43:19 PDT 2017


On Tuesday, 5 September 2017 at 12:41:45 UTC, Computermatronic 
wrote:
> On Tuesday, 5 September 2017 at 12:20:14 UTC, crimaniak wrote:
>> [...]
>
> I find it very strange that this works, as a non-mixin template 
> should not be able to capture the context of where it was 
> instantiated. If you take the alias template parameters out it 
> behaves how it should (that is an error message saying this is 
> not accessible).

https://issues.dlang.org/show_bug.cgi?id=17809


More information about the Digitalmars-d mailing list