Hi All,
i came across some reading about the NRV [Named Return Value] of the function while i was reading about the copy constructors.
This named return value concept is not clear and how it is linked with compiler turning on /off the optimization ?
can someone summerize about the program transformation that is carried out by the compiler [related to copy constructor]?
i am facing a lot of problems while reading book " Inside C++ object model" by Staneley Lipman. There are many things i am not able to grasp about constructor getting synthesized especially in case of copy constructor. It will be great help if some one explain in simple language or give some useful links regarding the same.
Thanks in advance.
sanjay
i came across some reading about the NRV [Named Return Value] of the function while i was reading about the copy constructors.
This named return value concept is not clear and how it is linked with compiler turning on /off the optimization ?
can someone summerize about the program transformation that is carried out by the compiler [related to copy constructor]?
i am facing a lot of problems while reading book " Inside C++ object model" by Staneley Lipman. There are many things i am not able to grasp about constructor getting synthesized especially in case of copy constructor. It will be great help if some one explain in simple language or give some useful links regarding the same.
Thanks in advance.
sanjay