LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
separator.hxx File Reference

Output containers with a separator between items. More...

#include <ostream>
#include <misc/deref.hh>
#include <misc/separator.hh>
Include dependency graph for separator.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  misc
 Handling of generic, oriented or undirected, graph.

Functions

template<class C , typename S >
separator< C, S > misc::separate (const C &c, const S &s)
 Shorthand to create separator(c, s).
template<class C >
separator< C, char > misc::separate (const C &c)
 Shorthand to create separator(c, '
').
template<class C , typename S >
std::ostream & misc::operator<< (std::ostream &ostr, const separator< C, S > &s)
 Output the separator object s on ostr.

Detailed Description

Output containers with a separator between items.