Original Post
Hi All,
I have code as below
std::map<std::string, std::stringstream> tempTest; tempTest["Test"] << "String To Stream"; std::string retStr = tempTest["Test"].str();It compiles fine, but when run, retStr has the value "". Is there something obvious im missing here? Thanks Aface [edited by - Magmai Kai Holmlor on October 17, 2003 12:43:15 AM]