Comments (1)
TinySTL/TinySTL/Detail/Vector.impl.h
Line 38 in b6bde62
这里有内存泄漏,allocateAndCopy 之前应该析构并释放原先的元素
from tinystl.
Related Issues (20)
- 运行问题 HOT 5
- 分配器问题 HOT 4
- utility.h 编译报错 HOT 1
- 请问一下你的比较是在同样的编译条件下吗??
- 关于allocate函数的实现与cppreference的冲突
- Construct.h中析构元素中有个小疑问? HOT 1
- alloc::deallocate() 当 bytes > MAXBYTES,直接 free 好像不会释放分配的空间。 HOT 1
- Construct.h 中的 void destroy(ForwardIterator, ForwardIterator) 有点疑惑 HOT 5
- 老哥有兴趣一起合作吗
- 关于Allocator中destroy()函数以及Construct.h中destroy()函数的疑问
- Vector.h中相关移动语义是否需要加上noexpect?
- 内存池中的内存什么时候释放 HOT 2
- 我认为这行代码应该是有bug HOT 1
- VS2019编译不通过 HOT 5
- 内存分配器malloc内存不足情况存在错误。
- bug in alloc.hpp
- chunk_alloc第二级配置器的问题 HOT 1
- Algorithm.h中快速排序mid3函数的问题
- 反向迭代器的后置++是不是写反了 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinystl.