Log In

Recent questions tagged copy-constructor

4 votes
2 answers
What is the right way to declare a copy constructor of a class if the name of the class is MyClass? MyClass (constant MyClass * arg) MyClass (constant MyClass & arg) MyClass (MyClass arg) MyClass (MyClass * arg)
asked May 13, 2016 in Object Oriented Programming makhdoom ghaya 2.9k views
To see more, click for the full list of questions or popular tags.