Commit Graph

531 Commits

Author SHA1 Message Date
zouxiaohang
6587857d96 Merge pull request #12 from jxd134/master
a small modify in _uninitialized_fill_aux function
2016-03-14 13:59:25 +08:00
jxd134
ae7588ed88 some small modify 2016-03-12 15:10:04 +08:00
zouxiaohang
13c03b7a35 Merge pull request #11 from jxd134/master
return value of difference_type in Iterator.h
2016-02-26 20:47:33 +08:00
jxd134
1783d7df58 the return value of difference_type function in iterator.h is difference_type* 2016-02-26 20:33:52 +08:00
jxd134
bfbcd808d8 visual studio 2013 to visual studio 2015 2016-02-16 13:20:46 +08:00
zouxiaohang
0b3d1ece5e Merge branch 'master' of https://github.com/zouxiaohang/TinySTL.git 2015-12-25 12:50:34 +08:00
zouxiaohang
4ee7718ef2 shrink_to_fit bug fix 2015-12-25 12:50:25 +08:00
zouxiaohang
8e6c710c5e Merge pull request #8 from jiangtao92/working
修复inser_aux中出现的内存泄漏问题.增加测试实例
2015-12-06 15:56:53 +08:00
jiangtao
3d7af2820f 修复inser_aux中出现的内存泄漏问题.增加测试实例
插入点之后的元素后撤需要考虑两种情况,1. 只需要调用operator ==(在元素和元素之间)2, 需要调用constructor
(在元素移动到裸内存上的时候).
2015-11-29 21:53:52 +08:00
zouxiaohang
b728798dde bug fix 2015-11-10 10:08:19 +08:00
邹晓航
44b37271ed Merge pull request #3 from PINK-FL0YD/patch-1
fix "_uninitialized_fill_n_aux" define
2015-09-02 09:50:22 +08:00
Pink Floyd
821802b9e1 fix "_uninitialized_fill_n_aux" define 2015-09-01 20:27:56 +08:00
zouxiaohang
f7b78d5436 test 2015-08-31 16:34:31 +08:00
邹晓航
dfee645ba5 add 2015-08-19 13:59:41 +08:00
邹晓航
054a2384f1 2015-03-21 13:15:22 +08:00
邹晓航
b601df79e9 union-find set 2015-03-21 13:13:42 +08:00
邹晓航
fce4f246d9 2015-03-19 17:03:25 +08:00
邹晓航
39b6e637be make_cow 2015-03-19 16:09:28 +08:00
邹晓航
16fe2265b8 补充说明 2015-03-17 09:23:59 +08:00
邹晓航
26fc25d798 2015-03-16 20:19:29 +08:00
邹晓航
1b5d159612 修改测试 2015-03-16 19:23:00 +08:00
邹晓航
75a7f57ca1 2015-03-16 19:14:01 +08:00
邹晓航
3b2d095555 完成cow_ptr 2015-03-16 19:12:24 +08:00
邹晓航
92f641fffb add more operations 2015-03-16 15:55:55 +08:00
邹晓航
150206f38c bug fix 2015-03-16 15:35:17 +08:00
邹晓航
6b85b32575 add cow_ptr test 2015-03-16 15:14:36 +08:00
邹晓航
8e5f9a47af backup 2015-03-16 15:14:13 +08:00
邹晓航
88eab11155 添加friend class 关系 2015-03-16 15:13:59 +08:00
邹晓航
2337187e8a bug fix 2015-03-16 15:09:41 +08:00
邹晓航
525308f2dd 文件命名错误,fix 2015-03-16 14:36:56 +08:00
邹晓航
09731ceb4e add cow_ptr 2015-03-16 14:14:39 +08:00
邹晓航
3418a59d59 2015-03-16 14:10:06 +08:00
邹晓航
595b14f0de 更改测试用例 2015-03-16 14:09:57 +08:00
邹晓航
9510bc1b9d 2015-03-15 19:41:34 +08:00
邹晓航
2febc598c5 添加shared_ptr的测试 2015-03-15 19:37:43 +08:00
邹晓航
ffe180f4df 完成shared_ptr 2015-03-15 19:36:51 +08:00
邹晓航
eb15e8a6b9 shared_ptr 2015-03-15 19:03:50 +08:00
邹晓航
c5a3ab8aad 为ref添加deleter 2015-03-15 18:59:39 +08:00
邹晓航
bff1793592 消去自动化测试的屏幕输出 2015-03-14 19:15:47 +08:00
邹晓航
ab9b09225a ref 2015-03-13 19:06:41 +08:00
邹晓航
d31d3df72e add ref 2015-03-13 17:12:47 +08:00
邹晓航
3c6fa24a6a 2015-03-12 16:32:44 +08:00
邹晓航
32fefc463e 完成unique_ptr测试 2015-03-12 16:31:08 +08:00
邹晓航
c174e8abc2 bug fix 2015-03-12 16:30:49 +08:00
邹晓航
78659a9fc9 补充unique_ptr 2015-03-12 11:47:21 +08:00
邹晓航
5193a0b96b unique_ptr 2015-03-12 11:32:04 +08:00
邹晓航
e59e50132c 完成copy算法 2015-03-11 12:41:50 +08:00
邹晓航
44e55538e4 完成generate_n 2015-03-10 10:23:03 +08:00
邹晓航
e50d759501 修改命名错误 2015-02-15 20:00:59 +08:00
邹晓航
785a9727ea change shared_ptr to unique_ptr 2015-02-15 19:57:20 +08:00