Fixed Solaris-gcc errors and added splay trees

[SVN r40429]
This commit is contained in:
Ion Gaztañaga
2007-10-24 19:00:30 +00:00
parent 40835daaba
commit 960f20c3af
30 changed files with 1726 additions and 70 deletions

View File

@@ -73,10 +73,10 @@ int main()
assert(n == &three);
//Erase a node just using a pointer to it
algo::unlink_and_rebalance(n);
algo::unlink(&two);
//Erase a node using also the header (faster)
algo::erase(&header, n);
algo::erase(&header, &three);
return 0;
}