RFC: naming for FrontTransversal and Transversal ranges
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Fri May 1 23:26:50 PDT 2009
Robert Jacques wrote:
> 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.
>
I have.
Andrei
More information about the Digitalmars-d
mailing list