Is std.container.array more or less an equivalent of C#'s List<T>?

A Guy With a Question aguywithanquestion at gmail.com
Mon Dec 4 16:27:45 UTC 2017


On Monday, 4 December 2017 at 16:26:02 UTC, A Guy With a Question 
wrote:
> Reading this, the interface seems very similar, but I'm not 
> sure. There's only like a two sentence general description, 
> then it goes on to talk about a boolean specialization...
>
> https://dlang.org/phobos/std_container_array.html
>
> I'm looking for something that doesn't have to resize every 
> insert/append, but also it's going to be copying the whole 
> array either each time.

For clarity (had a typo in the original question). I do not want 
it copying the entire array every time. I'm looking for something 
close to C#'s List<T>.


More information about the Digitalmars-d-learn mailing list