If the line: std::string stdtext; is changed to std::string
> stdtest = "";
> then it seems to work fine.
Hmm, that's surprising. Does the standard define what the default
initialization value for std::string should be. Me thinks it would be
""; In any case, I made the change. Can't hurt.