Item 21: Don't Try to Return a Reference When You Must Return an Object

You can’t return a reference to a local object, duh!

Creative Commons License
This blog by Che-Liang Chiou is licensed under a Creative Commons Attribution 4.0 International License.