in reply to Re: Handling encryption safely
in thread Handling encryption safely

However, the compiler noticed that the string had spaces put in it, and then it was no longer used.
Then the author should have declared the data to be volatile (and in C++ I think you can even do std::string<char volatile>).