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

条款11:誊抄错误 #89

Open
Mr-zhang-97 opened this issue May 22, 2021 · 1 comment
Open

条款11:誊抄错误 #89

Mr-zhang-97 opened this issue May 22, 2021 · 1 comment

Comments

@Mr-zhang-97
Copy link

原文是:const void* 和 const char*

现在如果使用void*和char*调用processPointer就是无效的,按常理说const void*和const void*也应该无效,所以这些实例也应该标注delete:
@y1yang0
Copy link
Member

y1yang0 commented May 22, 2021

看起来是个错误。可以提交PR修复,谢谢!

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

2 participants