
#ifndef __SG_SSTREAM
#define __SG_SSTREAM 1

# include <iostream>
# include <strstream>
# include <string>

namespace std {

   class ostringstream : public ostrstream {
   public:
      std::string str() {  return string(ostrstream::str()); }
   };


   typedef istrstream istringstream;

};

#endif // !__SG_SSTREAM

