3 ms·
There is nothing wrong with using the STL in a medical device. Its certainly preferable to worrying about malloc and free. If you can get away with it stick wit
by not_the_fda 4y ago
There is nothing wrong with using the STL in a medical device. Its certainly preferable to worrying about malloc and free. If you can get away with it stick with std::array for buffers. If you need resizable buffers you can create std::vectors with reserved capacity.
All the algorithm stuff in the STL is nice to use. You have do thorough testing anyhow, its better to use something that has a lot of eyes on it like the STL vs rolling your own.