Monday, August 17, 2009

c++: what is importance of const. pointer in copy const.

Because otherwise you will pass the object to copy as an argument of copy constructor as pass by value which by definition creates a copy and so on... an infinite call chain....Do you see that-Prashant

No comments:

Post a Comment