Lolly 1.4.27
Loading...
Searching...
No Matches
Classes | Functions | Variables
tm_ostream.hpp File Reference
#include "string.hpp"
#include <cstdio>
Include dependency graph for tm_ostream.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tm_ostream_rep
 
class  tm_ostream
 

Functions

tm_ostreamoperator<< (tm_ostream &out, string a)
 

Variables

tm_ostreamcout
 
tm_ostreamcerr
 

Function Documentation

◆ operator<<()

tm_ostream & operator<< ( tm_ostream & out,
string a )

Definition at line 327 of file tm_ostream.cpp.

328 {
329 int i, n= N (a);
330 if (n == 0) return out;
331 for (i= 0; i < n; i++)
332 out << a[i];
333 return out;
334}
int N(array< T > a)
Get the length of the array.
Definition array.hpp:170

Variable Documentation

◆ cout

tm_ostream& cout
extern

Definition at line 343 of file tm_ostream.cpp.

◆ cerr

tm_ostream& cerr
extern

Definition at line 344 of file tm_ostream.cpp.