Question about eponymous template trick

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Nov 3 06:58:03 PST 2014


On 11/03/2014 06:36 AM, Uranuz wrote:
>> Looks like compiler looks for Node, Name and Attr in Node struct,
>> because of eponymous thing.
>
> I understand it but I want to know if it is documented behaviour or not.
> Could anybody clear what happens with eponymous stuff and why I can't
> get acces to *other* declarations inside eponymous template? I guess
> that it is not intended behaviour.
>

I think it's the intended behavior. I think documentation is outdated.

Ali



More information about the Digitalmars-d-learn mailing list