0001 /****************************************************************************************** 0002 * 将vector各方法的实现部分,简洁地引入vector.h 0003 * 效果等同于将这些实现直接汇入vector.h 0004 * 在export尚未被编译器支持前,如此可将定义与实现分离,以便课程讲解 0005 ******************************************************************************************/ 0006 #include "_share/release.h" 0007 #include "_share/util.h" 0008 0009 #include "vector_bracket.h" 0010 #include "vector_assignment.h" 0011 0012 #include "vector_constructor_by_copying.h" 0013 0014 #include "vector_expand.h" 0015 #include "vector_shrink.h" 0016 0017 #include "Vector_insert.h" 0018 #include "vector_remove.h" 0019 #include "vector_removeInterval.h" 0020 0021 #include "Vector_disordered.h" 0022 #include "Vector_find.h" 0023 #include "Vector_search.h" 0024 #include "Vector_search_binary_C.h" //有A、B、C三种版本,C最完善 0025 //#include "Vector_search_fibonaccian_A.h" //实用版(但返回值有待与接口统一) 0026 #include "Vector_search_fibonaccian_B.h" //华丽版 0027 0028 #include "Vector_traverse.h" 0029 0030 #include "Vector_unsort.h" 0031 #include "Vector_sort.h" 0032 //#include "vector_bubbleSort_A.h" 0033 //#include "vector_bubbleSort_B.h" 0034 #include "vector_bubbleSort_C.h" 0035 #include "vector_selectionSort.h" 0036 #include "vector_merge.h" 0037 #include "vector_mergeSort.h" 0038 //#include "vector_partition_A.h" 0039 //#include "vector_partition_A1.h" 0040 //#include "vector_partition_B.h" 0041 //#include "vector_partition_B1.h" 0042 #include "vector_partition_C.h" 0043 #include "vector_quickSort.h" 0044 #include "vector_heapSort.h" 0045 0046 #include "Vector_uniquify.h" //或者Vector_uniquify_slow.h 0047 #include "Vector_deduplicate.h"