3 ms·
Nobody who uses C++ for embedded development uses or cares about the STL though, and its absence isn't exactly surprising for a number of reasons... The sellin
by aseipp 8y ago
Nobody who uses C++ for embedded development uses or cares about the STL though, and its absence isn't exactly surprising for a number of reasons...
The selling point is features like RAII and templates, which can greatly reduce duplication and improve readability. Sure, you technically can't use the STL for whatever reasons, but practically it doesn't actually matter at all, and its absence comes with the territory for everyone involved.
Being able to use more of the STL in contexts like this would be nice for future projects, perhaps.
- BenFrantzDale 8y agoKeep in mind, the STL isn't limited to the containers, there are tons of algorithms that are very useful for embedded programming that don't throw exceptions, are vetted, and are as efficient as hand-written algorithms.