Lolly 1.4.28
Loading...
Searching...
No Matches
Classes | Functions | Variables
tm_ostream.cpp File Reference
#include "tm_ostream.hpp"
#include "fast_alloc.hpp"
#include "string.hpp"
Include dependency graph for tm_ostream.cpp:

Go to the source code of this file.

Classes

class  std_ostream_rep
 
class  buffered_ostream_rep
 

Functions

tm_ostreamoperator<< (tm_ostream &out, string a)
 

Variables

tm_ostreamcout = tm_ostream::private_cout
 
tm_ostreamcerr = tm_ostream::private_cerr
 

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

Definition at line 343 of file tm_ostream.cpp.

◆ cerr

Definition at line 344 of file tm_ostream.cpp.