struct node( P )
{
P payload;
node* pred;
node* succ;
}
struct R( V )
{
V value;
alias node!R N;
d_list!N Rlist;
}
struct d_list( N )
{
N* head;
N* tail;
// even this works
ref typeof(N.payload) getFirstValue(){
return head.payload;
}
}
--rt
