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
看见写得单例模式中用到了接口(导出的) 注释的是:避免返回一个包私有类型的指针 请教下,返回一个私有类型的指针有什么影响吗,暂时想不出返回私有类型的指针有什么不妥?包本身就是封装并隔离的。
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
看见写得单例模式中用到了接口(导出的)
注释的是:避免返回一个包私有类型的指针
请教下,返回一个私有类型的指针有什么影响吗,暂时想不出返回私有类型的指针有什么不妥?包本身就是封装并隔离的。
The text was updated successfully, but these errors were encountered: