摘要:
1 //RB_Tree.hpp 2 //The code of red black trees 3 //2011/12/31 by Adoo 4 // The foundation :http://www.roading.org/?p=691 5 6 #ifndef RB_TREES_HPP 7 #define RB_TREES_HPP 8 #include 9 #include 10 #include 11 enum RB_Color{ 12 red, 13 black 14 }; 15 template 16 class RB_Tree{ 17 ... 阅读全文