Straight Forward Arrays

Steven Schveighoffer schveiguy at gmail.com
Sun Oct 1 13:05:12 UTC 2023


On Sunday, 1 October 2023 at 09:01:53 UTC, dhs wrote:
> Hi,
>
> Is there a straight forward Array type in D similar to C++'s 
> vector class? Something along the lines of the tuple: (pointer 
> to elements, length, capacity).
>
> [...]

Std::vector uses value semantics. D does not have anything like 
that. It could be done someone just has to do it.

-Steve


More information about the Digitalmars-d-learn mailing list