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

co::shared & co::unique 存在问题 #360

Open
ChrisCatCP opened this issue Apr 4, 2024 · 1 comment
Open

co::shared & co::unique 存在问题 #360

ChrisCatCP opened this issue Apr 4, 2024 · 1 comment

Comments

@ChrisCatCP
Copy link

目前的实现会直接实例化一个T

struct S { T o; size_t n; };
//构造S的时候会实例化T  当T为纯虚基类的时候无法实例化
@ChrisCatCP
Copy link
Author

并且这里的n我也不理解存在什么作用

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