On 08/30/2016 11:28 PM, wobbles wrote:
I'll have to try find a workaround for now :/
This seems to work and isn't too ugly: ---- class Node(T, alias func) {/*...*/} alias Node(T) = Node!(T, (T t) => t*t); ----
ag0aep6g via Digitalmars-d-learn Tue, 30 Aug 2016 14:41:21 -0700
On 08/30/2016 11:28 PM, wobbles wrote:
I'll have to try find a workaround for now :/
This seems to work and isn't too ugly: ---- class Node(T, alias func) {/*...*/} alias Node(T) = Node!(T, (T t) => t*t); ----