0
Can object be passed by reference to constructor?
Can object be passed by reference to constructor?
2 Answers
+ 3
yes.
See copy constructor always takes object by reference.
+ 1
you can imagine objects like variables, so yes, just like variables can pass by reference so objects can be.