http://www.cplusplus.com/doc/tutorial/functions/ |
TheIdeasMan wrote: |
---|
Return by value means the whole object is copied, if it is big then that's inefficient. Return by by reference essentially just returns the memory address, which is usually a zillion times better. |