On 13/03/2012 17:31, Warp wrote:
> Warp<war### [at] tag povray org> wrote:
>> The first problem is: How should the object be copied? There are many
>> possibilities:
>
> If you are wondering which solution the STL data containers use,
> it's usually just a simple deep-copy whenever the container is copied
> or assigned.
Just to be picky: I'm presuming that it's a "deep" copy as far as
copying the container itself. Presumably what happens to the elements
depends on what their copy constructor implements. (?)
Post a reply to this message
|