1 ////////////////////////////////////////////////////////////////////////////////
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
8 // template implementations
10 ////////////////////////////////////////////////////////////////////////////////
11 #include "print_sequence.hpp"
16 template<typename T, typename S>
17 void print_list(std::ostream& device,
18 const std::list<T>& values,
20 const std::string& separator)
22 print_sequence(device, values.begin(), values.end(), print_fn, separator);
25 } // end namespace stlplus