import std.container;
class C
{
int[] prio;
RedBlackTree!(int, (a,b)=>prio[a]<prio[b]) tree;
}
I think I understand the reason why this does not work (the
lambda cannot access the 'this' to get to 'prio'), but I can't
think of a way to make it work. Any Ideas?
