RFC: naming for FrontTransversal and Transversal ranges

Robert Jacques sandford at jhu.edu
Fri May 1 22:42:20 PDT 2009


On Fri, 01 May 2009 15:37:56 -0400, Rainer Deyke <rainerd at 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.




More information about the Digitalmars-d mailing list