Return Value Optimization(RVO)

1

Let us try to understand RVO(Return value optimization) with the help of below example: #include using namespace std; class base { unsigned int m_mem1; unsigned int m_mem2; public: base(unsigned int x, unsigned int y): m_mem1(x), m_mem2(y) { cout

Read this post on allabouttechnologies.co.in


Karan Arora

blogs from Chandigarh