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

笔误吗 #3

Open
xhl-388 opened this issue Apr 28, 2021 · 2 comments
Open

笔误吗 #3

xhl-388 opened this issue Apr 28, 2021 · 2 comments

Comments

@xhl-388
Copy link

xhl-388 commented Apr 28, 2021

在 “0、NULL和nullptr优先使用nullptr的原因” 中,25行

//但当有f(int a)时,0和NULL永远不会调到f(int *),只会调用f(int *)

后面应该是f(int)吧 😄

@hengqiali
Copy link
Owner

在 “0、NULL和nullptr优先使用nullptr的原因” 中,25行

//但当有f(int a)时,0和NULL永远不会调到f(int *),只会调用f(int *)

后面应该是f(int)吧

感谢指出,已修改。
参数是int和int*有重载时,0和NULL会调到f(int),而不是调到f(int *)

@hengqiali
Copy link
Owner

新的内容见此

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