This 'operator+()' [on matrices] accesses the operands of + … [but it requires a memory allocation]. … Copying the return value is often cheaper (in … store. It is also much simpler to program. …
Copyright clearance needed for quotation.
Topic: memory management by garbage collection (113 items)