snprintf vs std::stringstream
===

I am working on removing `SECURITY CODING` violation in my product. My code has lot of `sprintf`, coverity tool is suggesting me to use `snprintf`, But C++ also has `std::stringstream`. Will it be a good idea to use `std::stringstream` in place of `snprintf` 