Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我发现的一些bug #29

Open
ligand-lg opened this issue Jun 22, 2019 · 1 comment
Open

我发现的一些bug #29

ligand-lg opened this issue Jun 22, 2019 · 1 comment

Comments

@ligand-lg
Copy link

ligand-lg commented Jun 22, 2019

typedef typename _type_traits<ForwardIterator>::is_POD_type is_POD_type;

这里_type_traits应该给value_type,不应该是Iterator

@ligand-lg
Copy link
Author

ligand-lg commented Jun 22, 2019

allocateAndCopy(v.start_, v.finish_);

这里有内存泄漏,allocateAndCopy 之前应该析构并释放原先的元素

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant