添加二叉搜索树

This commit is contained in:
邹晓航
2014-10-17 15:50:43 +08:00
parent 78a80ff758
commit a0c0aaaa9e
3 changed files with 102 additions and 83 deletions

View File

@@ -0,0 +1,15 @@
#ifndef _BINARY_SEARCH_TREE_H_
#define _BINARY_SEARCH_TREE_H_
#include "Allocator.h"
namespace TinySTL{
//class of binary_search_tree
template<class T, class Alloc = TinySTL::allocator<T>>
class binary_search_tree{};
//class of bst iterator
template<class T>
class bst_iter{};
}
#endif