]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_hash.tpp
cleanup stlplus files
[chaz/yoink] / src / stlplus / strings / print_hash.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 ////////////////////////////////////////////////////////////////////////////////
9 #include "print_sequence.hpp"
10
11 namespace stlplus
12 {
13
14 template<typename K, typename T, typename H, typename E, typename KS, typename TS>
15 void print_hash(std::ostream& device,
16 const hash<K,T,H,E>& values,
17 KS key_print_fn,
18 TS value_print_fn,
19 const std::string& pair_separator,
20 const std::string& separator)
21 {
22 print_pair_sequence(device,
23 values.begin(), values.end(),
24 key_print_fn, value_print_fn,
25 pair_separator, separator);
26 }
27
28 } // end namespace stlplus
29
This page took 0.031064 seconds and 4 git commands to generate.