S
subramanian100in
Suppose 'Test' is a class.
Suppose I create an instance 'obj' of the 'Test' class:
Test obj;
Now, suppose I write
Test another = obj;
My question: is this last line called 'direct -initialization' or
'copy-initialization' ?
Kindly clarify.
Thanks
V.Subramanian
Suppose I create an instance 'obj' of the 'Test' class:
Test obj;
Now, suppose I write
Test another = obj;
My question: is this last line called 'direct -initialization' or
'copy-initialization' ?
Kindly clarify.
Thanks
V.Subramanian