Robert Jacques wrote:
On Fri, 01 May 2009 15:37:56 -0400, Rainer Deyke <rain...@eldwood.com>
wrote:
Robert Jacques wrote:
Precisely, so it's always passed by reference and doesn't need to
support copying.
All containers need to support copying.
No they don't. To be clear, I'm talking about copying the container, not
the values inside them, in a non-destructive manner. My data structures
book and wikipedia make no mention of a .dup like method as being part
of a container. I do agree .dup is useful and quite practical for serial
containers, but it is by no means required. But you haven't answered the
question of a value semantic lock-free container.
I have.
Andrei