The C++ Standard Library Deprecations
H. S. Teoh
hsteoh at qfbox.info
Sat Jun 6 03:08:29 UTC 2026
On Fri, Jun 05, 2026 at 07:12:53PM -0700, Walter Bright via Digitalmars-d wrote:
> On the other hand, I find creating containers to be very easy work. I
> only add abilities to them that I actually need, so those containers
> tend to be spare, direct, and easy to understand.
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.
T
--
Famous last words: I *think* this will work...
More information about the Digitalmars-d
mailing list