提交 a0c0aaaa 编写于 作者: 邹晓航

添加二叉搜索树

上级 78a80ff7
#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
\ No newline at end of file
......@@ -86,6 +86,7 @@
<ClInclude Include="Algorithm.h" />
<ClInclude Include="Alloc.h" />
<ClInclude Include="Allocator.h" />
<ClInclude Include="BinarySearchTree.h" />
<ClInclude Include="Bitmap.h" />
<ClInclude Include="CircularBuffer.h" />
<ClInclude Include="Construct.h" />
......
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="头文件">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="资源文件">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="头文件\Profiler">
<UniqueIdentifier>{092c2875-2b56-404b-977e-a9b4aa67c134}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="main.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="Profiler\Profiler.cpp">
<Filter>头文件\Profiler</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="TypeTraits.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Construct.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Alloc.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Allocator.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="UninitializedFunctions.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Iterator.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Vector.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Algorithm.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Profiler\Profiler.h">
<Filter>头文件\Profiler</Filter>
</ClInclude>
<ClInclude Include="String.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="ReverseIterator.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="CircularBuffer.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Bitmap.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Stack.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Deque.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Queue.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Functional.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Utility.h">
<Filter>头文件</Filter>
</ClInclude>
</ItemGroup>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="头文件">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="资源文件">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="头文件\Profiler">
<UniqueIdentifier>{092c2875-2b56-404b-977e-a9b4aa67c134}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="main.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="Profiler\Profiler.cpp">
<Filter>头文件\Profiler</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="TypeTraits.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Construct.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Alloc.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Allocator.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="UninitializedFunctions.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Iterator.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Vector.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Algorithm.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Profiler\Profiler.h">
<Filter>头文件\Profiler</Filter>
</ClInclude>
<ClInclude Include="String.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="ReverseIterator.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="CircularBuffer.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Bitmap.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Stack.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Deque.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Queue.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Functional.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Utility.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="BinarySearchTree.h">
<Filter>头文件</Filter>
</ClInclude>
</ItemGroup>
</Project>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册