Comment Comment by hashingroll > no mutable reference parametersSidenote: The style guide (recently?) removed the ban on non-const references [0]. They are now allowed for non-optional output parameters. Though returning value is generally preferred over output parameters.[0] https://google.github.io/styleguide/cppguide.html#Inputs_and... parent hashingroll 5 years ago
Sidenote: The style guide (recently?) removed the ban on non-const references [0]. They are now allowed for non-optional output parameters. Though returning value is generally preferred over output parameters.
[0] https://google.github.io/styleguide/cppguide.html#Inputs_and...