Am 10.05.2016 um 21:43 schrieb Lodovico Giaretta:
alias Node(T) = RefCounted!(_Node!T); struct _Node(T) { Node!T parent; // error: recursive template expansion }
I think this is expected. Can't have cycles like that in template instantiations.
ag0aep6g via Digitalmars-d-learn Tue, 10 May 2016 15:17:07 -0700
Am 10.05.2016 um 21:43 schrieb Lodovico Giaretta:
alias Node(T) = RefCounted!(_Node!T); struct _Node(T) { Node!T parent; // error: recursive template expansion }
I think this is expected. Can't have cycles like that in template instantiations.