Stack + Heap allocation store

Ben Jones fake at fake.fake
Tue Jul 28 17:44:24 UTC 2020


On Tuesday, 28 July 2020 at 14:19:25 UTC, Per Nordlöw wrote:
> On Tuesday, 28 July 2020 at 14:02:55 UTC, Per Nordlöw wrote:
>> Which are its issues?
>
> I looked the code. I see what you mean now.
>
> Seems like a template param for initial size is preferred over 
> the unsafe buffer pointer to the ctor.

Not sure it's bulletproof, but I have something like that here: 
https://github.com/benjones/dtriangulate/blob/master/source/dtriangulate/ssoVector.d


More information about the Digitalmars-d mailing list