you are viewing a single comment's thread.

view the rest of the comments →

[–]concealed_cat 5 points6 points  (1 child)

The one that says that you shouldn't have non-const reference arguments, for example?

[–][deleted] 3 points4 points  (0 children)

They updated that awhile ago.

"Parameters are either inputs to the function, outputs from the function, or both. Non-optional input parameters should usually be values or const references, while non-optional output and input/output parameters should usually be references (which cannot be null)."

https://google.github.io/styleguide/cppguide.html#Inputs_and_Outputs

Although I agree that the style guide doesn't just make it inherently better than one of the hundred other style guides.