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