C++ Pricing Library
Wednesday, June 12, 2013
Return Reference and Return Value
1. It is a good thing to return the reference of objects instead of a copy of the object. This is done to save RAM resource.
2. Returning reference is most used in operator overloading += -= + and so on.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment