ostringstream doesn't work with int
Please, test this code with gcc compiler.
#include <iostream>
#include <sstream>
int main()
{
std::ostringstream stream;
stream << 45;
std::string str = stream.str();
std::cout << str; // empty output
return 0;
}
MacBook Pro 15" 2.4Ghz 2GB 500GB, Mac OS X (10.6.1)