data-oriented struct abstraction ?
via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat May 30 07:25:31 PDT 2015
On Saturday, 30 May 2015 at 14:17:51 UTC, short2cave wrote:
> template, man, think template. Once it's done it can be
> instantiated at the ∞ with any struct used as model. A library
> template, a type cons. Once the template done, it has 0 cost.
Right. But I also think to get a good API, you need to know how
it will be used in practice. So there's probably not a solution
that "fits all sizes".
More information about the Digitalmars-d-learn
mailing list