16#if defined(OS_WIN) || defined(OS_MINGW)
53 void write (
const char*);
77#if defined(OS_WIN) || defined(OS_MINGW)
100 while (*
c != 0 && *
c !=
'\n')
127 void write (
const char*);
178 return (&out ==
this);
220 if (
b)
rep->write (
"true");
221 else rep->write (
"false");
235 static char _buf[32];
243 static char _buf[32];
251 static char _buf[64];
259 static char _buf[64];
267 static char _buf[64];
275 static char _buf[64];
283 static char _buf[64];
291 static char _buf[64];
299 static char _buf[32];
307 static char _buf[64];
315 static char _buf[128];
330 if (n == 0)
return out;
331 for (i= 0; i < n; i++)
int N(array< T > a)
Get the length of the array.
buffered_ostream_rep(tm_ostream_rep *master)
#define DEC_COUNT(R)
Macro used to decrement the reference count for a structure object and delete it if the count reaches...
#define INC_COUNT(R)
Macro used to increment the reference count for a structure object.
The list class represents a linked list.
virtual ~tm_ostream_rep()
virtual void write(const char *)
virtual bool is_writable() const
tm_ostream & operator<<(bool)
tm_ostream_rep * operator->()
void redirect(tm_ostream x)
static tm_ostream private_cerr
bool operator==(tm_ostream &)
tm_ostream & operator=(tm_ostream x)
static tm_ostream private_cout
tm_ostream & operator<<(tm_ostream &out, string a)