Skip to content

Return Value Optimization(RVO)

1
  • Aditya Narayan Mohanty
Return Value Optimization(RVO)

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


Popular Articles by this blogger