Straight Forward Arrays

dhs dhs at email.com
Sun Oct 1 10:12:49 UTC 2023


On Sunday, 1 October 2023 at 09:21:37 UTC, Imperatorn wrote:
> 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).
>>
>> [...]
>
> https://dlang.org/spec/simd.html
> https://dlang.org/phobos/core_simd.html
>
> Or if you want to use it, you can check out core.stdcpp.vector.

core.stdcpp.vector does look the dynamic array implementation I 
was looking for.

Thank you,
dhs


More information about the Digitalmars-d-learn mailing list