|
|
> If there is no copy constructor and no operator=, it does a memberwise
> copy. Same as memcpy(New,Old,sizeof(struct)).
Exactly. There is no copy constructor nor operator=, so the References
field gets copied along with everything else.
Daniel
--
A most peculiar man With the windows closed And Mrs Reardon says
He died last Saturday So he'd never wake up He has a brother somewhere
He turned on the gas To his silent world Who should be notified soon
And he went to sleep And his tiny room .oO( http://sad.istic.org/ )
Post a reply to this message
|
|