TestForSSTREAM.cxx 154 Bytes
Newer Older
1 2
#include <sstream>
int main(int, char*[])
3
{
4 5 6 7 8 9 10 11
  std::ostringstream os;
  os << "12345";
  if(os.str().size() == 5)
    {
    return 0;
    }
  return -1;
}