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

4.2.3 and 4.2.4 #9

Open
mikelty opened this issue Mar 5, 2022 · 0 comments
Open

4.2.3 and 4.2.4 #9

mikelty opened this issue Mar 5, 2022 · 0 comments

Comments

@mikelty
Copy link

mikelty commented Mar 5, 2022

4.2.3最后用了一次无参
4.2.4

如果用户定义有参构造函数,c++不在提供默认无参构造,但是会提供默认拷贝构造

如果有参+拷贝,c++就会提供无参

@mikelty mikelty changed the title 4.2.4 4.2.3 and 4.2.4 Mar 5, 2022
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