How to clear memory used by std::string

Viewed 54

I am storing some sensitive information like passwords in std::string. I want to know if there is a guaranteed way to clear the memory where the actual data was stored ?

0 Answers
Related