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

Why output parameters be sugguested as reference rather than pointer #803

Open
yexinhua1998 opened this issue Feb 7, 2024 · 0 comments
Open

Comments

@yexinhua1998
Copy link

Google c++ style sugguest output parameter as pointer before. But after this commit, this suggestion is changed and output parameters is suggested as reference. I am confused about why do this chagne and what problem you meet in practice and what benefit with new rule.
Thanks for answer!

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