The C++ Standard Library Deprecations
Walter Bright
newshound2 at digitalmars.com
Mon Jun 8 02:09:55 UTC 2026
On 6/5/2026 8:08 PM, H. S. Teoh wrote:
> And that's precisely the problem. Containers are simple when they're
> specifically tailored for your specific use case. Containers in a
> standard library, though, need to be relevant to the general userbase;
> and as we know, every one has their own exceptional corner case that
> they expect should be supported. So standard library containers tend to
> grow hairs over time and become anything but simple.
What I've been learning in trying to convert dmd's backend from lists to arrays
is that the important thing is to have the same interface for both. Having a
substantially different interface makes it very hard to try a different container.
More information about the Digitalmars-d
mailing list