libutap
Public Member Functions | Public Attributes | List of all members
UTAP::print< T > Struct Template Reference

print – template for pretty printing lists. More...

#include <signalflow.h>

Inheritance diagram for UTAP::print< T >:

Public Member Functions

 print (std::ostream &out, const char *sep)
 
void operator() (const T &x)
 

Public Attributes

std::ostream & os
 
const char * infix
 
bool need
 

Detailed Description

template<class T>
struct UTAP::print< T >

print – template for pretty printing lists.

similar to ostream_iterator except it does not print last delimiter.

Constructor & Destructor Documentation

template<class T>
UTAP::print< T >::print ( std::ostream &  out,
const char *  sep 
)
inline

Member Function Documentation

template<class T>
void UTAP::print< T >::operator() ( const T &  x)
inline

Member Data Documentation

template<class T>
const char* UTAP::print< T >::infix
template<class T>
bool UTAP::print< T >::need
template<class T>
std::ostream& UTAP::print< T >::os

The documentation for this struct was generated from the following file: