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

Create noncopyable.h #852

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Create noncopyable.h #852

wants to merge 5 commits into from

Conversation

ToWorld
Copy link
Contributor

@ToWorld ToWorld commented Feb 16, 2017

No description provided.

@yvxiang
Copy link
Collaborator

yvxiang commented Feb 20, 2017

感觉noncopyable.h不应该放在这个位置,应该放到common库中
不过,C++11已经提供了= delete这样的语法来阻止编译器生成拷贝构造函数

@ToWorld
Copy link
Contributor Author

ToWorld commented Feb 20, 2017

那先放common库吧?

@ToWorld
Copy link
Contributor Author

ToWorld commented Feb 20, 2017

既然放在common库的话,就先不用c++11特性了?

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

Successfully merging this pull request may close these issues.

None yet

2 participants