public:
SafeStringStream ()
{}
-
+
SafeStringStream (std::string s)
: _stream (s)
{}
-
+
template <class T>
std::ostream& operator<< (T val)
{
_stream.width (w);
}
+ void fill (int f)
+ {
+ _stream.fill (f);
+ }
+
void precision (int p)
{
_stream.precision (p);