Confused don't know the reason why the copy constructor is not called nor
that = operator overloading..plzzz help me out..!!!

On Sun, Aug 21, 2011 at 10:33 PM, Thayumanavar S <thayum...@gmail.com>wrote:

>
> folks during temporary object creation constructor is called
>> right..........but constructor is called here only 2 times..
>> According to me,either copy constructor and constructor should have been
>> called 2 times both or constructor 4 times ......but its neither of
>> them...paradox
>>
>  http://en.wikipedia.org/wiki/Return_value_optimization
>
> thayumanavar s
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
With regards
  ............
Puneet Chawla
Computer Engineering Student
NIT Kurukshetra

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to