> This led to classic bugs where the function returns a pointer to a local value. Compilers now usually catch this. C eventually got structure return by copy. Then C++ added return value by move, and automatic optimization for that.
Jesus Christ. Can we now get “return fruit by vegetable?”
Some speedups may not be worth having to memorize standards documents.