User profile: PhysicsIsFun

User info
User name:PhysicsIsFun
History
Joined:
Number of posts:242
Latest posts:

copy constructor and initialization
@Peter87, @keskiverto thanks that makes it clear. It is interesting then that initialization seems...

copy constructor and initialization
[quote=Peter87]The argument to the "default assignment operator" is passed by reference and therefor...

copy constructor and initialization
Ok, nevermind, I still want to know something. @seeplus, in your original code, if I comment out th...

copy constructor and initialization
[quote=seeplus] L32 - passed by value L55 - passed by value pass by value -> copy -> copy construct...

copy constructor and initialization
[quote=Peter87] The assignment operator is used when you assign to an already existing object. The ...