|
clang-tags
C/C++ source code indexing tool based on libclang
|
Output stream duplicator. More...
#include <util.hxx>
Public Member Functions | |
| Tee (std::ostream &stream1, std::ostream &stream2) | |
| Constructor. | |
| template<typename T > | |
| Tee & | operator<< (T x) |
| Output stream operator. | |
| Tee & | operator<< (std::ostream &(*x)(std::ostream &)) |
| Output stream operator. | |
Output stream duplicator.
Stream which duplicates its output to two streams.
Example use:
|
inline |
Constructor.
| stream1 | first stream to duplicate output to |
| stream2 | second stream to duplicate output to |
|
inline |
Output stream operator.
Duplicate output to the two provided streams.
| x | thing to ouput |
|
inline |
Output stream operator.
Duplicate output to the two provided streams.
| x | stream manipulator to forward |
1.8.1.2