]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_list.hpp
build system enhancements
[chaz/yoink] / src / stlplus / strings / print_list.hpp
1 #ifndef STLPLUS_PRINT_LIST
2 #define STLPLUS_PRINT_LIST
3 ////////////////////////////////////////////////////////////////////////////////
4
5 // Author: Andy Rushton
6 // Copyright: (c) Southampton University 1999-2004
7 // (c) Andy Rushton 2004-2009
8 // License: BSD License, see ../docs/license.html
9
10 // Generate a string representation of a list
11
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "strings_fixes.hpp"
14 #include <string>
15 #include <iostream>
16 #include <list>
17
18 namespace stlplus
19 {
20
21 template<typename T, typename S>
22 void print_list(std::ostream& device,
23 const std::list<T>& values,
24 S print_fn,
25 const std::string& separator = ",");
26
27 } // end namespace stlplus
28
29 #include "print_list.tpp"
30 #endif
This page took 0.031344 seconds and 4 git commands to generate.