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.
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.