We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NodeImpl 类通过继承 butil::RefCountedThreadSafe ,将析构函数设为私有,从而确保对象的生命周期由线程安全的引用计数机制(RefCountedThreadSafe)自动管理。 而RefCountedThreadSafe的机制非常类似于智能指针,为什么不使用智能指针重构NodeImpl呢
The text was updated successfully, but these errors were encountered:
No branches or pull requests
NodeImpl 类通过继承 butil::RefCountedThreadSafe ,将析构函数设为私有,从而确保对象的生命周期由线程安全的引用计数机制(RefCountedThreadSafe)自动管理。
而RefCountedThreadSafe的机制非常类似于智能指针,为什么不使用智能指针重构NodeImpl呢
The text was updated successfully, but these errors were encountered: