artemav:

struct node(T) {
    T data;
    node!T next;
};

Try:

struct node(T) {
    T data;
    node!T* next;
}

Bye,
bearophile

Reply via email to